Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Convert a GitHub style Markdown file to HTML, complete with inline CSS
CSS JavaScript HTML
branch: master

Merge pull request #4 from icetan/borderless-print

Added @media print to disable container border
latest commit 34469f30e0
@rvagg authored
Failed to load latest commit information.
.gitignore
.jshintrc
LICENSE
README.md
bin.js
gfm2html.js
levelup_ss.png
package.json
style.css
template.html

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.

Something went wrong with that request. Please try again.