pen包-markdown实时预览
2019-11-18 本文已影响0人
stevekeol
安装
npm install pen -g
使用
pen readme.md
//readme.md是将用markdown写作的文件
-
pen
命令将开启一个pen服务器,并打开默认浏览器,端口默认为6060; - 其实,可以直接
pen
命令,具体要打开的文件,直接在浏览器下写入即可:(http://localhost:6060/readme.md;http://localhost:6060/temp/readme.md ...)