Skip to main content

in-line math rending problems

When I use the LLM to produce the math formulas, it outputs math formulas as $......$ format for in-line math. But typing mind can not handle it and render it correctly. I hope you can fix this problem.

2 comments

Log in to comment and vote

Comments2

  • Aquamarine Oak

    •

    Jan 19

    Ya even trying to use system prompts to tell it to use$$…$$ vs $…$ only works with some models and inconsistently. The seems most llms output in the $…$ single$ format and the ui just ignores it

  • Ivory Alpaca

    •

    Dec 9, 2025

    Yes, nice to have. A workaround is to tell LLMs to use `$$…$$` also for inline math, but this is not very robust, some LLMs sometimes still switch to `$…$` .