Oh no, that's not what I'm saying. I just think that the prettifier does the formatting in a language agnostic way.
There is a code path in the codebase that seems to deal with the lang attribute though, but I think it's dead.
https://github.com/buro9/microcosm/blob/main/web/server/static/js/base.js#L38-L46
Yeah, there's nothing in the server side of this which would make that work from Markdown.
Edit: There's also no way at all to prettyprint with the correct language using HTML. The sanitizer nukes the class.
Looks like I can remove that from the refactor then :)
@Velocio started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
Oh no, that's not what I'm saying. I just think that the prettifier does the formatting in a language agnostic way.
There is a code path in the codebase that seems to deal with the lang attribute though, but I think it's dead.
https://github.com/buro9/microcosm/blob/main/web/server/static/js/base.js#L38-L46