LaTeX equation/formula rendering in Assistant panel #24429
Replies: 2 comments 2 replies
-
I just ran into this, it would be amazing to render equations in the assistant panel. Especially since some assistants are pretty good at math and use latex notation heavily. |
Beta Was this translation helpful? Give feedback.
-
I've looked into this before and it would be very painful to implement. The main problem is that there isn't really a good library for Rust which only implements a subset of LaTeX, so you are either bringing in a large dependency like tectonic or you are using bindings for KaTeX (but then you need to write a partial html renderer in gpui, but this is probably stilll better than a full LaTeX implementation). |
Beta Was this translation helpful? Give feedback.
-
When the output of LLM includes LaTeX equations, it is expected that those equations are displayed properly. Now, Zed just shows the source, like:
Instead, it could be much better if Zed renders equations like:
Beta Was this translation helpful? Give feedback.
All reactions