README.md in nanoc-asciidoctor-1.0.1 vs README.md in nanoc-asciidoctor-1.0.2

- old
+ new

@@ -10,10 +10,20 @@ `gem install nanoc-asciidoctor` ## Usage +On the `Rules` file, require the library, and call as you prefer: + ```ruby -filter :asciidoctor +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`.