1.0.12 • Published 6 years ago

gulp-h2md v1.0.12

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

gulp-h2md

Gulp plugin for html to md

Build Status npm codecov npm bundle size David Publish Package

Install

npm install gulp-h2md --save-dev

Basic Usage

'use strict';

var gulp = require('gulp');
var gH2md = require('gulp-h2md');

gulp.task('h2md', function () {
  return gulp.src('./html/**/*.html')
    .pipe(gH2md())
    .pipe(gulp.dest('./md'));
});
'use strict';

var gulp = require('gulp');
var gH2md = require('gulp-h2md');

gulp.task('h2md', function () {
  return gulp.src('./html/**/*.html')
    .pipe(gH2md().on('error', gH2md.logError))
    .pipe(gulp.dest('./md'));
});

You can also compile synchronously, doing something like this:

'use strict';

var gulp = require('gulp');
var gH2md = require('gulp-h2md');

gulp.task('h2md', function () {
  return gulp.src('./html/**/*.html')
    .pipe(gH2md.sync().on('error', gH2md.logError))
    .pipe(gulp.dest('./md'));
});
1.0.11

6 years ago

1.0.12

6 years ago

0.0.0

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago