Skip to content

Implement Prism diff-highlight #183

@Queue-ri

Description

@Queue-ri

📉 Priority: Low

In some cases, code blocks need to support both diff highlighting and language syntax highlighting simultaneously, and this is a prism plugin feature.
However, in docusaurus, plugin feature is not available because prism-react-renderer, which docusaurus uses for code rendering, doesn't support prism plugins.

Unfortunately, developers have to implement diff-highlight manually via swizzling, since prism-react-renderer has no plans to support this.

Related Issues

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestswizzleThings to swizzle

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions