gulp-md-template
Gulp plugin uses markdown-templator to include markdown files in an HTML template.
Installation
$ npm install gulp-md-template
Gulpfile
var gulp = template = ; gulp;
Example Usage
You can include markdown files into an HTML template so that this:
<!-- ./index.html --> Example {{header}} {{article.md}}
<!-- ./partials/header.md --> ![Logo](logo.png)## TITLE
<!-- ./partials/article.md --> This is an article about this stuff: - Item of intereset- Another item of interest- An item of non-interest
Transforms to this:
<!-- ./dist/index.html --> Example TITLE This is an article about this stuff:Item of interesetAnother item of interestAn item of non-interest
How to contribute
- 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.
License
See the LICENSE file.