Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including markdown-preview with all npm packages installed. Try it out:

var markdownPreview = require("markdown-preview")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

markdown-preview v0.4.3

Markdown preview made easy


Markdown preview made easy (with live update).


  npm install -g markdown-preview


  markdown-preview [options] <filename>


-h, --help                   output usage information
-V, --version                output the version number
-P, --parser <parser>        use markdown parser, remark | marked | showdown
-p, --port <port>            server port (defaults to 3333)
-b, --browser <browser>      browser name to open
-c, --css <name>             use customize css file for styling
-w, --width <width>          limit the width of the document (defaults to 800px)
-i, --highlight <highlight>  set highlight style
-t, --timeout <seconds>      exit preview if idle (defaults to 3s)
-o, --output <filename>      write to file

Code highlight style list

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free