Markdown-it plugin for gulp 3.
First, install gulp-markdown-it
as a development dependency:
npm install --save-dev gulp-markdown-it
Then, add it to your gulpfile.js
:
var gulp = require('gulp');
var markdown-it = require('gulp-markdown-it');
gulp.task('default', function () {
gulp.src('./src/*.ext')
.pipe(markdown-it({msg: 'More Coffee!'}))
.pipe(gulp.dest("./dist"));
});
See the markdown-it Api docs for more details.
Type: String
can be "commonmark", "zero" or "default"
Default: default
Type: Object
Default: {}
Type: Object
Default: []