2021-02-12 07:21:43 -05:00
|
|
|
{{- partial "helper/external" (dict "Context" . "Namespace" "KaTeX") -}}
|
2020-12-24 04:57:01 -05:00
|
|
|
<script>
|
2021-02-12 07:21:43 -05:00
|
|
|
window.addEventListener("DOMContentLoaded", () => {
|
2020-12-24 04:57:01 -05:00
|
|
|
renderMathInElement(document.querySelector(`.article-content`), {
|
|
|
|
delimiters: [
|
|
|
|
{ left: "$$", right: "$$", display: true },
|
|
|
|
{ left: "$", right: "$", display: false },
|
|
|
|
{ left: "\\(", right: "\\)", display: false },
|
|
|
|
{ left: "\\[", right: "\\]", display: true }
|
|
|
|
]
|
2021-02-12 07:21:43 -05:00
|
|
|
});})
|
2020-12-24 04:57:01 -05:00
|
|
|
</script>
|