About LaTeX expression rendering issue #1141

Closed
opened 2026-02-21 17:30:12 -05:00 by yindo · 3 comments
Owner

Originally created by @richards199999 on GitHub (Mar 1, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

When the model want to type out an expression in LaTeX, the frontend will fail to do it, making the response unreadable.😢

image

2. Describe the feature you'd like to see

Responses will render the equations correctly.

3. How will this feature improve your workflow or experience?

It can improve the experience when dealing math and science with LLMs via dify.

4. Additional context or comments

No response

5. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @richards199999 on GitHub (Mar 1, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? When the model want to type out an expression in LaTeX, the frontend will fail to do it, making the response unreadable.😢 ![image](https://github.com/langgenius/dify/assets/142148415/450ae1ba-1a72-408e-9c10-1a85fbb6936e) ### 2. Describe the feature you'd like to see Responses will render the equations correctly. ### 3. How will this feature improve your workflow or experience? It can improve the experience when dealing math and science with LLMs via dify. ### 4. Additional context or comments _No response_ ### 5. Can you help us with this feature? - [x] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 17:30:12 -05:00
yindo closed this issue 2026-02-21 17:30:12 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 1, 2024):

It seems like you've got this under control, if you want help or have specific questions, let me know what I can do for you!

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@dosubot[bot] commented on GitHub (Mar 1, 2024): <!-- Answer --> It seems like you've got this under control, if you want help or have specific questions, let me know what I can do for you! <!-- Dosu Comment Footer --> <details open> <summary> #### About Dosu </summary> This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. </details>
Author
Owner

@wststone commented on GitHub (Mar 4, 2024):

Try telling llms about adding dollar sign before and after math expressions, or use markdown style output

@wststone commented on GitHub (Mar 4, 2024): Try telling llms about adding dollar sign before and after math expressions, or use markdown style output
Author
Owner

@richards199999 commented on GitHub (Mar 5, 2024):

oh wait. it works. thank you!

@richards199999 commented on GitHub (Mar 5, 2024): oh wait. it works. thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1141