Git Product home page Git Product logo

fis-parser-jade's Introduction

fis-parser-jade

A parser for fis to compile jade file.

功能

  • 将Jade模版编译为HTML

用法

安装插件

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

启用插件

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

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

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

var jadeConf = {
	filters : {
		jadesrc : require('jade-highlighter')
	},
  pretty  : true
};

fis.config.set('settings.parser.jade', jadeConf);

fis-parser-jade's People

Contributors

ssddi456 avatar qdsang avatar hefangshi avatar

Stargazers

 avatar KAI avatar Tao.zhang avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

hefangshi qdsang

fis-parser-jade's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.