static-engine-converter-marked
v5.12.2
Published
Plugin for static-engine. Processes all content properties of objects in the collection through marked.
Downloads
8
Readme
static-engine-converter-marked
This is a plugin for static-engine. Traverses every object in the array and converts the content with marked.
var engine = require('static-engine')
var marked = require('static-engine-converter-marked')
var pluginA = require('plugin-a')
engine([
pluginA,
marked({
highlight: function (code) {
return hljs.highlightAuto(code).value
}
})
])