Discount Markdown implementation. See: github.com/rtomayko/rdiscount
RDiscount is a simple text filter. It does not support scope or locals. The :smart and :filter_html options may be set true to enable those flags on the underlying RDiscount object.
# File lib/tilt.rb, line 744 def evaluate(scope, locals, &block) @output ||= @engine.to_html end
# File lib/tilt.rb, line 730 def flags [:smart, :filter_html].select { |flag| options[flag] } end
Generated with the Darkfish Rdoc Generator 2.