Use React Diff Viewer to simplify the code (no more need to compute diffs) and get some features such as split view, syntax highlighting, etc.
Syntax highlighting is achieved using Prism. I've only loaded the minimal Prism script, but we can definitely add more and iterate to support more languages.
Use React Diff Viewer to simplify the code (no more need to compute diffs) and get some features such as split view, syntax highlighting, etc.
Syntax highlighting is achieved using Prism. I've only loaded the minimal Prism script, but we can definitely add more and iterate to support more languages.
The style should adapt to the VS Code theme.
Light theme
Dark theme