mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-26 15:58:06 +00:00
a4ee38540d
We bundle markdown-it-kroki, which can add mermaid diagrams to marp slides using https://kroki.io.
6 lines
186 B
JavaScript
6 lines
186 B
JavaScript
const { MarkdownItKrokiCore } = require('./lib/plugin-core');
|
|
|
|
module.exports = (md, opt) => {
|
|
const plugin = new MarkdownItKrokiCore(md);
|
|
plugin.setOptions(opt).use();
|
|
};
|