All
Interaction
Code Diff
A code diff like in a review: unified or side-by-side view, line numbers for both versions, added and removed lines coloured with their sign, unchanged lines folded behind Show 4 unchanged lines, a button to copy the new version and a +4 −2 summary; falls back to the unified view on small screens.
No dependency: paste the HTML into your page, the CSS into your stylesheet, and the JavaScript into a function that receives the parent element (root).