Deas::Kramdown
Deas template engine for rendering Kramdown templates
Usage
Register the engine:
require 'deas'
require 'deas-kramdown'
Deas.configure do |c|
c.template_source "/path/to/templates" do |s|
s.engine 'md', Deas::Kramdown::TemplateEngine
end
end
Add .md
to any template files in your template source path. Deas will render their content using Kramdown when they are rendered.
Installation
Add this line to your application's Gemfile:
gem 'deas-kramdown'
And then execute:
$ bundle
Or install it yourself as:
$ gem install deas-kramdown
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request