mirror of https://github.com/requarks/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
381 B
17 lines
381 B
5 years ago
|
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
|
||
|
})
|
||
|
}
|
||
|
}
|