gulp-markdown

Markdown to HTML

Usage no npm install needed!

<script type="module">
  import gulpMarkdown from 'https://cdn.skypack.dev/gulp-markdown';
</script>

README

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

const gulp = require('gulp');
const markdown = require('gulp-markdown');

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

API

markdown(options?)

See the marked options.

markdown.marked

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