strip-yaml-header
Strip yaml header form markdown.
Last updated 10 years ago by azu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install strip-yaml-header 
SYNC missed versions from official npm registry.

strip-yaml-header Build Status

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

Current Tags

  • 1.0.1                                ...           latest (10 years ago)

1 Versions

  • 1.0.1                                ...           10 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE