0.0
No commit activity in last 3 years
No release in over 3 years
Guard::Gimli automatically converts your markup files when they are modified.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

>= 0
>= 0
 Project Readme

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 two options that you can set like this:

guard 'gimli', :outputdir => 'build', :stylesheet => 'style.css' do
  ...
end

Available options:

:outputdir => 'build'    # default nil ie. directory of file
:stylesheet => 'style.css'    # default nil ie. only the standard css

See gimli doc for more info.