Awesome
gulp-i5ting-toc
gulp-i5ting-toc is a gulp task wrapper of i5ting_ztree_toc https://github.com/i5ting/i5ting_ztree_toc
Install
npm install --save gulp-i5ting-toc
Usage
var gulp = require('gulp');
var i5ting_toc = require('./');
var opt = {
source_file: 'sample.md',
is_open: true,
markd_config: {
debug: false
}
}
gulp.task('default', function() {
gulp.src('sample.md')
.pipe(i5ting_toc(opt));
});
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
版本历史
- v0.1.0 初始化版本
欢迎fork和反馈
- write by
i5ting
shiren1118@126.com
如有建议或意见,请在issue提问或邮件
License
this repo is released under the MIT License.