forgejo-federation/web_src/js/markup
zeripath 1e7f3c16a4
Fix environments for KaTeX and error reporting (#22453)
In #22447 it was noticed that display environments were not working
correctly. This was due to the setting displayMode not being set.

Further it was noticed that the error was not being displayed correctly.

This PR fixes both of these issues by forcibly setting the displayMode
setting and corrects an error in displayError.

Fix #22447

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-01-16 18:25:46 +08:00
..
anchors.js Fix markdown anchor re-clicking (#21931) 2022-11-26 19:15:44 +08:00
codecopy.js Add Mermaid copy button, avoid unnecessary tooltip hide (#22225) 2022-12-25 18:17:48 +01:00
content.js Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
math.js Fix environments for KaTeX and error reporting (#22453) 2023-01-16 18:25:46 +08:00
mermaid.js Add Mermaid copy button, avoid unnecessary tooltip hide (#22225) 2022-12-25 18:17:48 +01:00
tasklist.js Use explicit jQuery import, remove unused eslint globals (#18435) 2022-01-28 21:00:11 +00:00