Command-line utility for quickly previewing Markdown locally
npm install md-pre
|1||downloads in the last week|
|5||downloads in the last month|
|Version||0.0.2 last updated a year ago|
|Dependencies||marked, fs-hogan, optimist, colors|
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 --help Usage: md-pre [options] file Options: -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:
- Breaking backwards compatibility bumps the major
- New additions without breaking backwards compatibility bumps the minor
- Bug fixes and misc changes bump the patch
For more information on semantic versioning, please visit http://semver.org/.
Copyright (c) 2012 Jake Harding
Licensed under the MIT License.