Skip to content

sindresorhus/gulp-markdown

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.