@jswork/gulp-github-md2html
v1.0.2
Published
Gulp plugin for github markdown to html.
Downloads
15
Readme
gulp-github-md2html
Gulp plugin for github markdown to html.
installation
# public
yarn add --dev @jswork/gulp-github-md2html
usage
"use strict";
const gulp = require('gulp');
const md2html = require('@jswork/gulp-github-md2html');
const rename = require('gulp-rename');
gulp.task('demo', function () {
return gulp
.src('src/*.md')
.pipe(md2html())
.pipe(rename({ extname: '.html' }))
.pipe(gulp.dest('dist'));
});
gulp.task('default', gulp.series(['demo']));