class Tilt::BlueClothTemplate
to enable those flags on the underlying BlueCloth object.locals
. The :smartypants
and :escape_html
options may be set true
RDiscount is a simple text filter. It does not support scope
or
/
BlueCloth Markdown implementation. See:
def evaluate(scope, locals, &block)
def evaluate(scope, locals, &block) @output ||= @engine.to_html end
def initialize_engine
def initialize_engine return if defined? ::BlueCloth require_template_library 'bluecloth' end
def prepare
def prepare @engine = BlueCloth.new(data, options) @output = nil end