Convert a GitHub style Markdown file to HTML, complete with inline CSS
CSS JavaScript HTML
Switch branches/tags
Latest commit 906ee95 Oct 29, 2015 @rvagg 0.1.2
Permalink
Failed to load latest commit information.
.gitignore initial commit Aug 21, 2013
.jshintrc initial commit Aug 21, 2013
LICENSE initial commit Aug 21, 2013
README.md initial commit Aug 21, 2013
bin.js initial commit Aug 21, 2013
gfm2html.js initial commit Aug 21, 2013
levelup_ss.png initial commit Aug 21, 2013
package.json 0.1.2 Oct 29, 2015
style.css Added @media print to disable container border Feb 23, 2015
template.html put gfm2html in template Dec 11, 2013

README.md

gfm2html

$ sudo npm install gfm2html -g
$ gfm2html README.md README.html

Turn Markdown files into HTML

NPM

Also includes inline CSS, styled so that the page renders nearly identically to Markdown on GitHub, including syntax-highlighting.

Install with npm install gfm2html -g (you may need to sudo that), then you have a gfm2html command ready to use that will take an input file and an output file.

Example

This is the LevelUP README.md:

LevelUP

License

gfm2html is Copyright (c) 2013 Rod Vagg @rvagg and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.