marp-template/engine.mjs

9 lines
176 B
JavaScript
Raw Normal View History

2023-11-10 15:54:25 +01:00
import include from 'markdown-it-include'
const options = {
includeRe: /#include(.+)/,
bracesAreOptional: true,
}
export default ({ marp }) => marp.use(include, options)