nanoc-asciidoctor
This provides a filter for Asciidoctor, a Ruby processor for AsciiDoc.
Installation
gem install nanoc-asciidoctor
Usage
On the Rules
file, require the library, and call as you prefer:
require 'nanoc-asciidoctor'
compile '/**/*.adoc' do
filter :asciidoctor
layout '/default.*'
# Or wrap the markup in full HTML through AsciiDoctor
# filter :asciidoctor, :header_footer => true
end
Options passed to this filter will be passed on to Asciidoctor.render
.