Publish your own packages to the world's most popular software ecosystem with npm Pro.Get started »

This package has been deprecated

Author message:

This project is long out of date. Use 'marked' instead.

github-flavored-markdown

1.0.1 • Public • Published

See: github-flavored-markdown

As an npm package:

npm install github-flavored-markdown

And then in your node program:

var ghm = require("github-flavored-markdown")
ghm.parse("I **love** GHM.\n\n#2", "isaacs/npm")
// returns:
// '<p>I <strong>love</strong> GHM.  '+
// '<a href=\'http://github.com/isaacs/npm/issues/#issue/2\'>#2</a></p>'

To get the sha/issue/fork links, pass in a second argument specifying the current project that things should be relative to.

Keywords

none

Install

npm i github-flavored-markdown

DownloadsWeekly Downloads

684

Version

1.0.1

License

none

Last publish

Collaborators

  • avatar