It can be annoying to use tools like Codex or Claude Code to edit scientific notes as they don't render LaTeX natively. I have fixed this issue. The performance seems good though it requires you to to use a terminal emulator which supports typescript which is admittedly gross. I have implemented this also as an Obsidian plugin at https://github.com/MaxwellsEquation/LaTerM-obsidian