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

Add a setting to disable katex rendering #1645

Open
nsarrazin opened this issue Jan 13, 2025 · 0 comments
Open

Add a setting to disable katex rendering #1645

nsarrazin opened this issue Jan 13, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@nsarrazin
Copy link
Collaborator

nsarrazin commented Jan 13, 2025

Describe your feature request

Most people probably want katex rendering by default but because we need to support all the different katex delimiters, sometimes you can have issues in sentences where it triggers when you don't want to. (stuff like php variables "$foo and $bar") for example. Easiest fix would be to just have a toggle for users

Implementation idea

Just an extra toggle in settings stored in the db, use $settings in MarkdownRenderer to know if you should skip the renderLatex transformation

@nsarrazin nsarrazin added the enhancement New feature or request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant