gulp-replace-div
v1.0.2
Published
[![gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/i5ting/gulp-replace-div?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![NPM version](https://img.shields.io/npm/v/gulp-replace-div.svg?style=flat-square)
Downloads
2
Readme
gulp-replace-div
Install
$ npm i -S gulp-replace-div
Usages
var gulp = require('gulp');
var replace_div = require('gulp-replace-div')
gulp.task('default', function() {
gulp.src('fixture.md').pipe(replace_div('en', '')).pipe(gulp.dest('dist'))
});
replace_div参数
- 第一个参数是class,即div的class
- 第二个参数是要替换的字符串,不填写为空字符
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
版本历史
- v1.1.0 实现可编程调用
- v1.0.0 初始化版本cli,实现kp导出
欢迎fork和反馈
- write by
i5ting
[email protected]
如有建议或意见,请在issue提问或邮件
License
this repo is released under the MIT License.