Sha256: 9674c84fbef15c32f2b873645333f7d49e95369db0f60d1a9771b44cf0441c5a
Contents?: true
Size: 356 Bytes
Versions: 44
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
44 entries across 43 versions & 13 rubygems