Natural Pacifist Manatees
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

markdown-preview

0.4.3 • Public • Published

markdown-preview

Markdown preview made easy (with live update).

Installation

  npm install -g markdown-preview

Usage

  markdown-preview [options] <filename>

Options

-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

https://github.com/isagalaev/highlight.js/tree/master/src/styles

install

npm i markdown-preview

Downloadsweekly downloads

14

version

0.4.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability