Closed ZYPX closed 1 month ago
Hi @ZYPX.
Because Deep Chat uses a library called Remarkable to render its text content, the formatting is limited by its capabilities.
Unfortunately due to this, I would either recommend forking/cloning the repository and editing the component yourself (steps here) or rendering the responses yourself via the html
message responses (more info can be found here).
If another way to do this is found, you can re-open this issue and inform me of the changes that can be made. However, for now I will keep this issue closed.
Thankyou!
Would love to have math expressions rendered dynamically in messages. I attempted to add this myself but was not successful.
Some available libraries are https://www.mathjax.org/ and https://katex.org/
Currently math from the LLM gets outputted like this:![exampleMath](https://github.com/OvidijusParsiunas/deep-chat/assets/63077890/2b21b5d3-22bd-448a-b47f-65a29a1709fc)
I would like the output to be like this:![image](https://github.com/OvidijusParsiunas/deep-chat/assets/63077890/8c7cdf15-5034-48ba-b4f9-de6f5cc15194)