gmi

gulp-markdown-it

A plugin for gulp to render markdown files with markdown-it

Showing:

Popularity

Downloads/wk

25

GitHub Stars

8

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

4

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

gulp-markdown-it NPM version

Build Status Coverage Status Dependency Status devDependency Status

Markdown-it plugin for gulp 3.

Usage

First, install gulp-markdown-it as a development dependency:

npm install --save-dev gulp-markdown-it

Then, add it to your gulpfile.js:

var gulp = require('gulp');
var markdown-it = require('gulp-markdown-it');

gulp.task('default', function () {
    gulp.src('./src/*.ext')
        .pipe(markdown-it({msg: 'More Coffee!'}))
        .pipe(gulp.dest("./dist"));
});

Options markdown-it(opt)

See the markdown-it Api docs for more details.

opt.preset

Type: String can be "commonmark", "zero" or "default" Default: default

opt.options

Type: Object Default: {}

opt.plugins

Type: Object Default: []

License

MIT License ©

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial