FormidableLabs / FormidableLabs/prism-react-renderer

Add support for diff-highlight

Open
#90 5 comments 38 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2k
Forks
149
PR merge metrics
No merged PRs in 30d

Description

Related to https://github.com/FormidableLabs/prism-react-renderer/issues/2 and https://github.com/facebook/docusaurus/issues/3318

Prism comes with a useful plugin: [diff-highlight](https://prismjs.com/plugins/diff-highlight/) for combining syntax highlighting and diff highlighting.

Since prism-react-renderer does not support plugins, it would be interesting to reimplement this plugin directly in prism-react-renderer. This can increase quite significantly the readability of diffs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.