~/Toots

Brandon Rozek

Photo of Brandon Rozek

PhD Student @ RPI, Writer of Tidbits, and Linux Enthusiast

Tooted on

@gigantos Browsing around I found this cool open source application for creating nice looking code images

Carbon: carbon.now.sh/

This can output both as PNG and SVG, though sadly it doesn't look like Mastodon supports SVGs. As you mentioned before, the best bet is likely to have the code in the alt image.