gulp-textile

Textile plugin for gulp

Usage no npm install needed!

<script type="module">
  import gulpTextile from 'https://cdn.skypack.dev/gulp-textile';
</script>

README

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