From 465ec869ebb6ca3d505410abbfb029d1fea25880 Mon Sep 17 00:00:00 2001 From: furffico Date: Sat, 7 Jan 2023 00:48:17 +0800 Subject: [PATCH] add gist to katex's ignoredClasses --- layouts/partials/article/components/math.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/article/components/math.html b/layouts/partials/article/components/math.html index d05861c..8e62151 100644 --- a/layouts/partials/article/components/math.html +++ b/layouts/partials/article/components/math.html @@ -7,6 +7,7 @@ { left: "$", right: "$", display: false }, { left: "\\(", right: "\\)", display: false }, { left: "\\[", right: "\\]", display: true } - ] + ], + ignoredClasses: ["gist"] });}) \ No newline at end of file