-
|
Hello, I would like to use the Treeview plugin for Prism. But I can't seems to find any places to tell docusaurus to load that plugin? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
We don't support Prism plugins because the lib we use in our theme "react-prism-renderer" does not support Prism plugins. See:
However, the good news is that you can implement your own code block component, or enhance our component thanks to Swizzling and implement this feature yourself if you want. It's possible that you use a totally different rendering logic for treeviews that doesn't use react-prism-renderer. |
Beta Was this translation helpful? Give feedback.
We don't support Prism plugins because the lib we use in our theme "react-prism-renderer" does not support Prism plugins.
See:
However, the good news is that you can implement your own code block component, or enhance our component thanks to Swizzling and implement this feature yourself if you want. It's possible that you use a totally different rendering logic for treeviews that doesn't use react-prism-renderer.