zhuan
v0.0.4
Published
Compile your markdown document to html
Downloads
2
Maintainers
Readme
Zhuan
Compile your markdown document to html.
一个将你撰写的 Markdown 文档编译为 HTML 的工具。
Install
npm install -g zhuan
Usage
Tasks can be executed by running
zhuan <task> <options>
For example zhuan server -f README.md -o output
.
Tasks
server
ors
- Start a livereload server onhttp://localhost:8000
.compile
orc
- Compile your markdown document.
Default task is server
, so you can just run zhuan
.
Options
-f
or--file
- Specific the markdown file. Default is all markdown files in current dir. Default file extension.md
or.markdown
can be omitted.-o
or--output
- Specific the output dir. Default is current dir.-p
or--port
- Specific the server port. Default is 8000.