diff --git a/extensions/markdown-math/notebook/katex.ts b/extensions/markdown-math/notebook/katex.ts index 299ab9373de61..631b3ac51c5a9 100644 --- a/extensions/markdown-math/notebook/katex.ts +++ b/extensions/markdown-math/notebook/katex.ts @@ -33,6 +33,9 @@ export async function activate(ctx: RendererContext) { .katex-error { color: var(--vscode-editorError-foreground); } + .katex-block { + counter-reset: katexEqnNo mmlEqnNo; + } `; // Put Everything into a template