RedCloth implementation. See: redcloth.org/
[Source]
# File lib/sinatra/tilt.rb, line 652 652: def evaluate(scope, locals, &block) 653: @output ||= @engine.to_html 654: end
# File lib/sinatra/tilt.rb, line 642 642: def initialize_engine 643: return if defined? ::RedCloth 644: require_template_library 'redcloth' 645: end
# File lib/sinatra/tilt.rb, line 647 647: def prepare 648: @engine = RedCloth.new(data) 649: @output = nil 650: end
[Validate]