justqyx / gulp-trans

【Translate Tools Gulp Plugin】Compile Markdown to HTML with Table of Content

Home Page:https://github.com/i5ting/gulp-trans

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

【Translate Tools Gulp Plugin】Compile Markdown to HTML with Table of Content

https://github.com/i5ting/gulp-trans

License:MIT License


Languages

Language:JavaScript 90.4%Language:CSS 8.9%Language:HTML 0.7%Language:Shell 0.0%