asciidoc_converter plugin for Bridgetown
a Bridgetown plugin to convert AsciiDoc files to HTML using asciidoctor. it also loads Front Matter from the AsciiDoc file - so you can write:
= My AsciiDoc Post
:layout: post
:author: me
:description: awesome description
this is my awesome postnote that the Front Matter doesn’t have a blank line at the top - this is important and an AsciiDoc rule besides
Installation
run this command to add this plugin to your site’s Gemfile:
bundle add asciidoc_converterthen add the initializer to your configuration in config/initializers.rb:
init :asciidoc_converterUsage
the plugin will convert AsciiDoc files to HTML during the build process
Contributing
-
fork it (https://github.com/SarahRogue/asciidoc_converter/fork)
-
clone the fork using
git cloneto your local development machine. -
create your feature branch (
git checkout -b my-new-feature) -
commit your changes (
git commit -am 'Add some feature') -
push to the branch (
git push origin my-new-feature) -
create a new Pull Request