$ sudo npm install gfm2html -g $ gfm2html README.md README.html
Turn Markdown files into HTML
Also includes inline CSS, styled so that the page renders nearly identically to Markdown on GitHub, including syntax-highlighting.
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.
This is the LevelUP README.md:
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.