guard-gimli
gimli guard allows to automatically convert your files when markup is changed
Install
Please be sure to have Guard installed before continue.
Install the gem:
gem install guard-gimli
Add guard definition to your Guardfile by running this command:
guard init gimli
Usage
All commands originate from the directory where the file is located Please read Guard usage doc and gimli usage doc
Guardfile
You can adapt your markup files like you want. Please read Guard doc for more info about Guardfile DSL.
guard 'gimli' do
watch(%r{.+\.(md|mkdn?|mdown|markdown|textile|rdoc|org|creole|re?st(\.txt)?|asciidoc|pod|\d|(media)?wiki)})
end
Options
gimli guard have 1 option that you can set like this:
guard 'gimli', :outputdir => 'build' do
...
end
Available options:
:outputdir => 'build' # default nil ie. directory of file
See gimli doc for more info.