class Tilt::AsciidoctorTemplate

Asciidoctor implementation for AsciiDoc see: asciidoctor.github.com/

Asciidoctor is an open source, pure-Ruby processor for converting AsciiDoc documents or strings into HTML 5, DocBook 4.5 and other formats.

Public Instance Methods

allows_script?() click to toggle source
   # File lib/tilt/asciidoc.rb
23 def allows_script?
24   false
25 end
evaluate(scope, locals, &block) click to toggle source
   # File lib/tilt/asciidoc.rb
19 def evaluate(scope, locals, &block)
20   @output ||= Asciidoctor.render(data, options, &block)
21 end
prepare() click to toggle source
   # File lib/tilt/asciidoc.rb
15 def prepare
16   options[:header_footer] = false if options[:header_footer].nil?
17 end