Hacker News new | ask | show | jobs
by paradox460 5 days ago
I personally like using code blocks with math as the language

Gives you a nice, block level element, and it's easy to reason about

1 comments

I don’t really like that either since code blocks are supposed to be verbatim, and the language is only supposed to be a hint for syntax highlighting. Additionally you also occupy the first tag which may be an issue when e.g. writing a preample for a latex renderer (or if you want to pick a different renderer).
True

Djot solves this with tagged literals, but no one seems to want to use djot