Merge branch 'master' into master

This commit is contained in:
Jimmy 2024-12-22 14:51:45 +01:00 committed by GitHub
commit 87bd27ab11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,8 @@
{{- partial "helper/external" (dict "Context" . "Namespace" "KaTeX") -}}
<script>
window.addEventListener("DOMContentLoaded", () => {
renderMathInElement(document.body, {
const mainArticleElement = document.querySelector(".main-article");
renderMathInElement(mainArticleElement, {
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
@ -10,4 +11,4 @@
],
ignoredClasses: ["gist"]
});})
</script>
</script>