gulp-trans

v1.0.1
trans Markdown to HTML
gulpplugin markdown marked md compile convert markup html trans and 2 more...

gulp-trans v1.0.1 Build Status

Trans Description

  • Compile Markdown to HTML with Table of Content
  • With state : chinese , english && all, convenient for translate review work

Install

$ npm install --save-dev gulp-trans

Usage

var gulp = require('gulp');
var trans = require('gulp-trans');

gulp.task('default', function() {
    gulp.src('data/src/*.md')
        .pipe(trans())
        .pipe(gulp.dest('data/dist'));
         
        var open = require("open");
        open("./data/dist/sample.html");
});

resource

http://www.infoq.com/cn/articles/nodejs-about-buffer

API

todo

trans(options)

See the marked options.

License

MIT © Alfred Sang

Metadata

  • MIT
  • >=0.10.0
  • alfred sang
  • released 9/2/2014

Downloads

Maintainers