mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-25 15:58:53 +00:00
Update MathJax example to use safe mode
This commit is contained in:
@@ -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 >}}
|
||||
|
||||
Reference in New Issue
Block a user