Jade to HTML converter [closed]

空扰寡人 提交于 2019-11-30 05:39:28

Jade is supposed to come with a command line utility that does exactly that.

See here https://github.com/visionmedia/jade#jade1

Or see just above it for a make file that runs it.

-

Edit - it seems Jade was renamed to Pug - see https://github.com/pugjs/pug/issues/2184

but the answer remains - Pug comes with a command line tool - install it with npm install pug-cli -g

Then you can run pug my_template.pug which will produce my_template.html

if you want something online. you can try http://naltatis.github.io/jade-syntax-docs/ or http://jade-lang.com/demo/

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!