mirror of https://github.com/requarks/wiki
17 lines
381 B
17 lines
381 B
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
|
|
})
|
|
}
|
|
}
|