From d0dec741ad08aa702994a198c581d5afaba90956 Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Sat, 18 Sep 2021 10:45:17 +0200 Subject: [PATCH] katex-plugin: fix #6041 add automatic numbering reset to KaTex style-sheet (#6046) * katex-plugin: fix #6041 add automatic numbering reset to KaTex style-sheet * fix typo --- plugins/tiddlywiki/katex/styles.tid | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/plugins/tiddlywiki/katex/styles.tid b/plugins/tiddlywiki/katex/styles.tid index bda948e69..f2624d062 100644 --- a/plugins/tiddlywiki/katex/styles.tid +++ b/plugins/tiddlywiki/katex/styles.tid @@ -13,10 +13,16 @@ tags: [[$:/tags/Stylesheet]] text-rendering: auto; } +/* Reset Automatic Numbering on a per tiddler basis */ + +.tc-tiddler-frame { + counter-reset: katexEqnNo; +} + /* Avoid TW5's max-width: 100% */ .katex svg { - max-width: initial; + max-width: initial; } /* Override font URLs */