1.0.1 • Published 9 years ago

strip-yaml-header v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

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