Compatibility mode for Redcarpet 1.x
# File lib/tilt/redcarpet.rb, line 29 def allows_script? false end
# File lib/tilt/redcarpet.rb, line 25 def evaluate(scope, locals, &block) @output ||= @engine.to_html end
# File lib/tilt/redcarpet.rb, line 16 def flags FLAGS.select { |flag| options[flag] }.map { |flag| ALIAS[flag] || flag } end
# File lib/tilt/redcarpet.rb, line 20 def prepare @engine = RedcarpetCompat.new(data, *flags) @output = nil end