1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-20 05:21:31 +02:00

don't parse math equations in code blocks

This commit is contained in:
Hakim El Hattab
2024-11-11 15:35:16 +01:00
parent f979ff68e9
commit 5a275f223b
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ export const KaTeX = () => {
{left: '\\(', right: '\\)', display: false},
{left: '\\[', right: '\\]', display: true}
],
ignoredTags: ['script', 'noscript', 'style', 'textarea', 'pre']
ignoredTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
}
const loadCss = src => {