sindresorhus / gulp-markdown

Markdown to HTML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp-markdown

Markdown to HTML with marked

Issues with the output should be reported on the marked issue tracker.

Install

npm install --save-dev gulp-markdown

Usage

import gulp from 'gulp';
import markdown from 'gulp-markdown';

export default () => (
	gulp.src('intro.md')
		.pipe(markdown())
		.pipe(gulp.dest('dist'))
);

API

markdown(options?) (default export)

See the marked options.

marked (named export)

Access the marked object to customize the lexer, parser or renderer.

About

Markdown to HTML

License:MIT License


Languages

Language:JavaScript 100.0%