-
|
Is there a way to disable data-marpit-fragment fragments when exporting to HTML? They're super useful when presenting and I'd like to keep them in my markdown files but when sharing presentation files it'd be useful to have the option to disable them. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
|
In Marp CLI, you can inject a plugin for disabling the Marpit internal fragment plugin to Marp Core engine. marp --engine marp-engine-with-disable-fragment.mjs your-markdown.md// marp-engine-with-disable-fragment.mjs
export default ({ marp }) => marp.use((md) => md.core.ruler.disable('marpit_fragment')) |
Beta Was this translation helpful? Give feedback.
-
|
Sorry for bringing this back to life @yhatt but doesn't it make more sense for this to be a feature of bespoke and marp-cli? I'm thinking of having a go at adding it |
Beta Was this translation helpful? Give feedback.
In Marp CLI, you can inject a plugin for disabling the Marpit internal fragment plugin to Marp Core engine.