strip-yaml-header
v1.0.1strip-yaml-header
Strip yaml header form markdown.
Installation
npm install strip-yaml-header
Usage
var strip = require("strip-yaml-header");
var markdown = "---\n" +
"title: title\n" +
"---\n" +
"test";
var result = normalize(markdown);
assert.equal(result, "\n" +
"\n" +
"\n" +
"test");
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MIT