Markdown preview made easy (with live update).
npm install -g markdown-preview
markdown-preview <filename> [options]
Or add an alias for it in your .bash_profile
:
alias mp='markdown-preview'
-h
, --help
output usage information
-V
, --version
output the version number
-p
, --port <port>
server port (defaults to 3333)
-c
, --css <name>
use customize css file for styling
-m
, --marked
use marked to parse markdown (defaults to showdown)
-h
, --highlight <highlight>
set highlight style (defaults to 'github')
https://github.com/isagalaev/highlight.js/tree/master/src/styles