strip-yaml-header

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i strip-yaml-header

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • azu