Closed
Description
π Documentation
Prism comes with the ability to use prism plugins to add extra functionalities β such as diff-highlight to combine the syntax highlighting of a language with the diff
feature.
It is currently unclear how to enable prism plugins.
I've tried playing with swizzle
to extract the code-highlighting renderer, but failed to implement this feature.
Cross-reference:
- https://docusaurus-2.netlify.app/feedback/p/include-prism-diff-highlight
- https://stackoverflow.com/questions/62754505/how-to-use-prism-plugins-with-docusaurus-v2?noredirect=1
Have you read the Contributing Guidelines on issues?
Yes