lib/redcarpet.rb in redcarpet-1.5.3 vs lib/redcarpet.rb in redcarpet-1.6.0
- old
+ new
@@ -24,11 +24,11 @@
# rescue LoadError
# require 'bluecloth'
# end
#
class Redcarpet
- VERSION = '1.5.3'
+ VERSION = '1.6.0'
# Original Markdown formatted text.
attr_reader :text
# Set true to have smarty-like quote translation performed.
@@ -47,17 +47,17 @@
attr_accessor :no_links
# Disable superscript and relaxed emphasis processing.
attr_accessor :strict
- # Convert URL in links, even if they aren't encased in <tt><></tt>
- attr_accessor :autolink
-
# Don't make hyperlinks from <tt>[][]</tt> links that have unknown URL types.
attr_accessor :safelink
# Add TOC anchors to every header
attr_accessor :generate_toc
+
+ # Enable the Autolinking extension
+ attr_accessor :autolink
# Enable PHP-Markdown tables extension
attr_accessor :tables
# Enable PHP-Markdown ~~strikethrough~~ extension