Recently did something similar in Rust but for generating SVGs. We've adopted it for snapshot testing of cargo and rustc's output. Don't have a good PR handy for showing Github's rendering of changes in the SVG (text, side-by-side, swiping) but <a href="https://github.com/rust-lang/rust/pull/121877/files">https://github.com/rust-lang/rust/pull/121877/files</a> has newly added SVGs.<p>To see what is supported, see the screenshot in the docs: <a href="https://docs.rs/anstyle-svg/latest/anstyle_svg/" rel="nofollow">https://docs.rs/anstyle-svg/latest/anstyle_svg/</a>