Compile your markdown document to html.
一个将你撰写的 Markdown 文档编译为 HTML 的工具。
npm install -g zhuan
Tasks can be executed by running
zhuan <task> <options>
For example zhuan server -f README.md -o output
.
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
.
-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.