* initial plantuml work * got plantuml rendering working * fix: added plantuml module config order
17 lines
381 B
JavaScript
17 lines
381 B
JavaScript
const mdPlantUml = require('markdown-it-plantuml')
|
|
|
|
// ------------------------------------
|
|
// Markdown - PlantUML Preprocessor
|
|
// ------------------------------------
|
|
|
|
module.exports = {
|
|
init (md, conf) {
|
|
md.use(mdPlantUml, {
|
|
openMarker: conf.openMarker,
|
|
closeMarker: conf.closeMarker,
|
|
imageFormat: conf.imageFormat,
|
|
server: conf.server
|
|
})
|
|
}
|
|
}
|