class Tilt::CommonMarkerTemplate

Public Instance Methods

allows_script?() click to toggle source
# File lib/tilt/commonmarker.rb, line 17
def allows_script?
  false
end
evaluate(scope, locals, &block) click to toggle source
# File lib/tilt/commonmarker.rb, line 13
def evaluate(scope, locals, &block)
  CommonMarker.render_html(data, :default)
end
prepare() click to toggle source
# File lib/tilt/commonmarker.rb, line 8
def prepare
  @engine = nil
  @output = nil
end