Convert GFL (github flavored markdown) to html using pandoc.
npm install markitdownA thin wrapper around pandoc to help you convert markdown into web pages.
1. Node.js (http://nodejs.org/#download)
2. Pandoc (http://johnmacfarlane.net/pandoc/installing.html)
``bash`
$> npm install markitdown -g
Convert markdown to html courtesy of pandoc.
Files will be written with the same name and a .html exension
Usage: markitdown inputFile.md
Options:
--output-path Output path.
--head file to be included in
As basic as it gets. Convert a single file to html. This will output readme.html.
`bash`
$> markitdown readme.md
Convert the markdown files in the ./docs directory to html and put the output in the ./docsweb directory.
`bash`
$> markitdown ./docs --output-path ./docsweb
Convert a single file to html, but insert html content into the top of the page. Useful for common navigation, headers, logos, etc.
`bash``
$> markitdown readme.md --header ./header.html
Wouldn't that be nice! Will add some to the gh-pages branch in the future.