ugh, pseudocode in latex is way too complicated, why can't we have markdown code blocks with latex support :/
@annaaurora could you write the code blocks in markdown, export to latex w/ pandoc, then copy into your own latex file?

@annaaurora Maybe @CryptPad is something for you?

https://docs.cryptpad.org/en/user_guide/apps/code.html#markdown

You have Markdown and can embed mathjax, mermaid and markmap.

Code / Markdown — CryptPad 2025.3.0 documentation