-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filtering out Prism for markmaps #1175
Conversation
following the instructions here https://markmap.js.org/demos/auto-loader.html?disable=prism related to issue #729
checking the network tab in the preview site shows no Prism :) |
Excellent, thanks! Fixes #729 |
Woohoo! 🎉 |
autoLoader: { | ||
manual: true, | ||
onReady() { | ||
const { autoLoader, builtInPlugins } = window.markmap; | ||
autoLoader.transformPlugins = builtInPlugins.filter(plugin => plugin.name !== 'prism'); | ||
}, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I'm wondering if this should have been added to https://github.com/google/docsy/blob/main/assets/js/markmap.js?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created #1188 to track this.
following the instructions here https://markmap.js.org/demos/auto-loader.html?disable=prism related to issue google#729
following the instructions here https://markmap.js.org/demos/auto-loader.html?disable=prism
related to issue #729