helper-hybrid
Handlebars helpers to work for both, markdown and html output.
Purpose
This library solves a common problem for me:
Writing documentation in (GitHub flavored) markdown with extended markdown syntax, which can then be used in a nice formatted way in Html, but at the same time a GitHub markdown compliant output should be generated.
Installation
Install with npm
npm install handlebars-hybrid --save
Usage
var Handlebars = ;var hbHybrid = ; // enable the html pathhbHybrid; // or enable the markdown pathhbHybrid;
Running tests
Install dev dependencies:
$ npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Stefan Walther
License
Copyright © 2015 Stefan Walther Released under the MIT license.
This file was generated by verb-cli on June 23, 2015.