[GH-ISSUE #18507] feat: Switch KaTeX to MathJax #18616

Closed
opened 2026-04-20 00:49:53 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @atkirtland on GitHub (Oct 22, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18507

Check Existing Issues

  • I have searched all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Problem Description

KaTeX rendering is unstable and constantly breaks for moderate-length messages with multiple LaTeX formulas. When it breaks, the plaintext is just shown in red. I frequently have to copy and paste responses into a Markdown viewer with MathJax like Obsidian to render the equations properly.

Desired Solution you'd like

Switch the implemented library from KaTeX to MathJax. MathJax also supports a much wider range of packages, which are sometimes useful in rendering LLM responses.

Alternatives Considered

Not sure what could be done; KaTeX has always been unstable for me on other software as well.

Additional Context

No response

Originally created by @atkirtland on GitHub (Oct 22, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/18507 ### Check Existing Issues - [x] I have searched all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request. ### Problem Description KaTeX rendering is unstable and constantly breaks for moderate-length messages with multiple LaTeX formulas. When it breaks, the plaintext is just shown in red. I frequently have to copy and paste responses into a Markdown viewer with MathJax like Obsidian to render the equations properly. ### Desired Solution you'd like Switch the implemented library from KaTeX to MathJax. MathJax also supports a much wider range of packages, which are sometimes useful in rendering LLM responses. ### Alternatives Considered Not sure what could be done; KaTeX has always been unstable for me on other software as well. ### Additional Context _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#18616