Skip to content

apres/github-flavored-markdown

 
 

Repository files navigation

See: github-flavored-markdown

As an npm package:

npm install ghm

And then in your node program:

var ghm = require("ghm")
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.

About

This fork adds AMD support and fixes some bugs

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 95.7%
  • Ruby 4.3%