8b17b8a4ee
* feat: add data/external.yaml Manage all external resources URL in one file * style: format data/external * style(helper/external): error message * remove whitespace
12 lines
518 B
HTML
12 lines
518 B
HTML
{{- partial "helper/external" (dict "Context" . "Namespace" "KaTeX") -}}
|
|
<script>
|
|
window.addEventListener("DOMContentLoaded", () => {
|
|
renderMathInElement(document.querySelector(`.article-content`), {
|
|
delimiters: [
|
|
{ left: "$$", right: "$$", display: true },
|
|
{ left: "$", right: "$", display: false },
|
|
{ left: "\\(", right: "\\)", display: false },
|
|
{ left: "\\[", right: "\\]", display: true }
|
|
]
|
|
});})
|
|
</script> |