Update MathJax example to use safe mode

This commit is contained in:
Joe Mooring 2025-01-29 20:47:06 -08:00 committed by GitHub
parent 0b6d0292c7
commit cea44922a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -105,7 +105,8 @@ Create a partial template to load MathJax or KaTeX. The example below loads Math
tex: {
displayMath: [['\\[', '\\]'], ['$$', '$$']], // block
inlineMath: [['\\(', '\\)']] // inline
}
},
loader: {load: ['ui/safe']},
};
</script>
{{< /code >}}