gulp-markdown-it-adapter
An adapter for Gulp to render Markdown files with Markdown-It.
It's not a wrapper, it's an adapter!
Why? I want to have full access to Markdown-It instance instead of place options to the wrapper.
This plugin is the same as gulp-markdown-it, but takes Markdown-It instance outside and written on pure JavaScript ES5.
Usage
Install as a development dependency:
npm install --save-dev gulp-markdown-it-adapter
Use in Gulpfile.js
:
var gulp = ;var MarkdownIt = ;var gulpMarkdownIt = ;var highlightJs = ;var concat = ;var mdToc = default;var wrap = ; gulp; { if lang && highlightJs try return highlightJsvalue; catch exception console; try return highlightJsvalue; catch exception console; return '';}