logoalt Hacker News

paradox460yesterday at 10:37 PM1 replyview on HN

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


Replies

runarbergyesterday at 11:02 PM

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).