github-flavored-markdown

The port of Showdown used on github.com

This project is long out of date. Use 'marked' instead.
Last updated 15 years ago by isaacs .
Repository · Original npm · Tarball · package.json
$ npm install github-flavored-markdown 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.1                                ...           latest (15 years ago)

2 Versions

  • 1.0.1 [deprecated]           ...           15 years ago
  • 1.0.0 [deprecated]           ...           16 years ago
Maintainers (1)
Downloads
Total 7
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

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