marp-template/engine.mjs
2023-11-10 15:54:25 +01:00

9 lines
176 B
JavaScript

import include from 'markdown-it-include'
const options = {
includeRe: /#include(.+)/,
bracesAreOptional: true,
}
export default ({ marp }) => marp.use(include, options)