mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-09 18:45:41 -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: {
|
||||
displayMath: [['\\[', '\\]'], ['$$', '$$']], // block
|
||||
inlineMath: [['\\(', '\\)']] // inline
|
||||
}
|
||||
},
|
||||
loader: {load: ['ui/safe']},
|
||||
};
|
||||
</script>
|
||||
{{< /code >}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user