1 repository
Components that inject pre-styled diff HTML and navigation structures directly into target DOM elements.
Distinct from Diff Visualizations: Focuses on the injection of a full diff UI into a page rather than just providing visual markers
Explore 1 awesome GitHub repository matching user interface & experience · Diff DOM Injectors. Refine with filters or upvote what's useful.
diff2html is a Git diff visualization library that transforms unified diff text into structured HTML. It serves as a renderer for visualizing code changes in web browsers, providing components to inject stylized diff visualizations and collapsible file lists directly into web page elements. The library enables both side-by-side and line-by-line code comparisons. It includes a syntax highlighting diff viewer that applies language-specific color coding to source code based on file extensions or manual mappings. To maintain alignment during reviews, the project implements synchronized scrolling
Injects stylized diff visualizations and collapsible file lists directly into web page elements.