Post #1404689
2026-02-18 14:57 UTC
@nasser If you want to borrow some code, feel free to check out my project wsdiff, which generates pure-html/css diffs that adaptively wrap to whatever screen size you have and can dynamically switch between single-column (unified) diffs and two-column (side-by-side) diffs. Not only is the wrapping something neither github nor gitlab do well, with the way wsdiff structures it’s html it also renders large files faster than the two.
https://jaseg.de/projects/wsdiff/
Replies (1)
-
@nasser@merveilles.town 2026-02-18 15:21
@jaseg very cool! thank you!