0.0.2 • Published 9 years ago

fis-parser-jade-to-html v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

fis-parser-jade-to-html

A parser for fis to compile jade-to-html file.

功能

  • 将jade-to-html模版编译为HTML

用法

安装插件

$ npm install -g fis-parser-jade-to-html
$ vi path/to/project/fis-conf.js

启用插件

//file : path/to/project/fis-conf.js

//使用fis-parser-jade-to-html插件编译jade-to-html文件
fis.config.set('modules.parser.jade-to-html', 'jade-to-html');
//jade-to-html文件经过编译后输出为html文件
fis.config.set('roadmap.ext.jade-to-html', 'html');

添加自定义filter与jade-to-html编译设置

var jade-to-htmlConf = {
	filters : {
		jade-to-htmlsrc : require('jade-to-html-highlighter')
	},
  pretty  : true
};

fis.config.set('settings.parser.jade-to-html', jade-to-htmlConf);
0.0.2

9 years ago

0.0.1

9 years ago

0.0.12

9 years ago