md-pre is a command line utility for quickly previewing Markdown documents in the browser.
md-pre will convert your Markdown to HTML, write said HTML to a file located in a temp directory, and then open up that file in your default browser. The CSS used for the rendered Markdown is the same CSS that GitHub uses.
$ npm install -g md-pre
$ md-pre --helpUsage: md-pre [options] fileOptions:-d, --dir directory generated HTML file will be placed [default: "/tmp"]-o, --open command to use to open the generated HTML file [default: "open"]--verbose md-pre will let you know what it's doing
Found a bug? Create an issue on GitHub.
For transparency and insight into the release cycle, releases will be numbered with the follow format:
And constructed with the following guidelines:
For more information on semantic versioning, please visit http://semver.org/.
Copyright (c) 2012 Jake Harding
Licensed under the MIT License.