class Tilt::MarukuTemplate

Maruku markdown implementation. See: maruku.rubyforge.org/

Public Instance Methods

allows_script?() click to toggle source
   # File lib/tilt/maruku.rb
17 def allows_script?
18   false
19 end
evaluate(scope, locals, &block) click to toggle source
   # File lib/tilt/maruku.rb
13 def evaluate(scope, locals, &block)
14   @output ||= @engine.to_html
15 end
prepare() click to toggle source
   # File lib/tilt/maruku.rb
 8 def prepare
 9   @engine = Maruku.new(data, options)
10   @output = nil
11 end