Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 bug: LaTeX is not rendered in AI responses #248

Open
a3957273 opened this issue Oct 6, 2024 · 1 comment
Open

🐛 bug: LaTeX is not rendered in AI responses #248

a3957273 opened this issue Oct 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@a3957273
Copy link

a3957273 commented Oct 6, 2024

Description

If the AI generates latex in a triple backtick code block Mattermost does not render it correctly. If you copy the response into a normal chat box, it renders it correctly. I assume this is due to the custom chat renderer the AI plugin uses.

Steps to reproduce

Ask the AI something like Please generate valid latex in a markdown multi-line code block that displays the Pythagorean formula.

@a3957273 a3957273 added the bug Something isn't working label Oct 6, 2024
@azigler
Copy link
Contributor

azigler commented Oct 8, 2024

This is similar to #219, about rendering Markdown. I believe LaTeX is similarly disabled in AI responses currently, but maybe that could be a configurable option for the bot.

cc @crspeller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants