mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
16 lines
460 B
HTML
16 lines
460 B
HTML
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
|
<script>
|
|
MathJax = {
|
|
tex: {
|
|
inlineMath: [['$', '$'], ['\\(', '\\)']], // inline
|
|
displayMath: [['$$', '$$'], ['\\[', '\\]']] // block
|
|
},
|
|
startup: {
|
|
pageReady: () => {
|
|
return MathJax.startup.defaultPageReady().then(() => {
|
|
document.body.classList.remove("dn");
|
|
});
|
|
}
|
|
}
|
|
};
|
|
</script>
|