Skip to content

Commit

Permalink
fix: KaTeX may render contents in gist under certain conditions (CaiJ…
Browse files Browse the repository at this point in the history
…immy#755)

add gist to katex's ignoredClasses
  • Loading branch information
Furffico authored Feb 16, 2023
1 parent 4272da7 commit cb42d20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/partials/article/components/math.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{ left: "$", right: "$", display: false },
{ left: "\\(", right: "\\)", display: false },
{ left: "\\[", right: "\\]", display: true }
]
],
ignoredClasses: ["gist"]
});})
</script>

0 comments on commit cb42d20

Please sign in to comment.