@hongminhee洪 民憙 (Hong Minhee) :nonbinary: On the other hand seems to survive the sanitizer github.com/mastodon/mastodon/b which could be utilized by using a schema/vendor prefix suggested på @KevinMarks some time ago kevinmarks.com/microformatsche

It would then by up to the client to have corresponding css like Pygment's or highlight.js' github.com/highlightjs/highlig

A small Python source code block highlighted by Pygments with css classes prefix-ed by microformats-like classesA small Python source code block highlighted by highlight.js with css classes prefix-ed by microformats-like classesPygments default css style with prefix p-pygments-
0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/aslakr/statuses/114627534462009599 on your instance and quote it. (Note that quoting is not supported in Mastodon.)