Include markdown files in an HTML template. gulp-md-template is a Gulp plugin for this with example usage.
$ npm install -g markdown-templator
Usage: markdown-templator template.html [options]
-h|--help display this help message
-v|--version display the version number
-o|--output directory to output processed HTML
-p|--path location to look for markdown partials
Creates a new Templator
instance.
- Object
options
: An object containing the following fields: path
(String): The path to look for markdown partials.
Run the contents of an HTML file through the Templator
- String
templateFile
: Path to HTML file to be processed
- String The processed HTML
Inject markdown partials into HTML template
- String
templateContent
: HTML template string
- String The processed HTML
- File an issue in the repository, using the bug tracker, describing the contribution you'd like to make. This will help us to get you started on the right foot.
- Fork the project in your account and create a new branch:
your-great-feature
. - Commit your changes in that branch.
- Open a pull request, and reference the initial issue in the pull request message.
See the LICENSE file.