node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

gulp-textile

gulp-textile

Textile to HTML with textile-js for gulp 3

Issues with the output should be reported on the textile-js issue tracker.

Usage

First, install gulp-textile as a development dependency:

npm install --save-dev gulp-textile

Then, add it to your gulpfile.js:

var gulp = require('gulp');
var textile = require('gulp-textile');
 
gulp.task('default', function () {
  return gulp.src('hello.textile')
             .pipe(textile())
             .pipe(gulp.dest('dist'));
});

API

textile(options)

options is passed along to textile-js.

License

MIT © Shuhei Kagawa