mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-10 19:14:48 -04:00
Update MathJax example to use safe mode
This commit is contained in:
parent
0b6d0292c7
commit
cea44922a5
@ -105,7 +105,8 @@ Create a partial template to load MathJax or KaTeX. The example below loads Math
|
|||||||
tex: {
|
tex: {
|
||||||
displayMath: [['\\[', '\\]'], ['$$', '$$']], // block
|
displayMath: [['\\[', '\\]'], ['$$', '$$']], // block
|
||||||
inlineMath: [['\\(', '\\)']] // inline
|
inlineMath: [['\\(', '\\)']] // inline
|
||||||
}
|
},
|
||||||
|
loader: {load: ['ui/safe']},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
{{< /code >}}
|
{{< /code >}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user