Class: Middleman::Renderers::KramdownTemplate
- Inherits:
-
Tilt::KramdownTemplate
- Object
- Tilt::KramdownTemplate
- Middleman::Renderers::KramdownTemplate
- Defined in:
- lib/middleman-core/renderers/kramdown.rb
Overview
Our own Kramdown Tilt template that simply uses our custom renderer.
Instance Method Summary collapse
Instance Method Details
#evaluate(scope, locals, &block) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/middleman-core/renderers/kramdown.rb', line 8 def evaluate(scope, locals, &block) @output ||= begin output, warnings = MiddlemanKramdownHTML.convert(@engine.root, @engine.) @engine.warnings.concat(warnings) output end end |