Sha256: 6fc3c36743734d4e86a1919b14e01565f8dce180e4671e2c8c1bf05334067da1
Contents?: true
Size: 356 Bytes
Versions: 14
Compression:
Stored size: 356 Bytes
Contents
require 'tilt/template' require 'commonmarker' module Tilt class CommonMarkerTemplate < Template self.default_mime_type = 'text/html' def prepare @engine = nil @output = nil end def evaluate(scope, locals, &block) CommonMarker.render_html(data, :DEFAULT) end def allows_script? false end end end
Version data entries
14 entries across 14 versions & 4 rubygems