Skip to content

Commit 7fbec6d

Browse files
authored
Fix KaTeX equation numbering in notebook preview (microsoft#156276)
Fixes microsoft#155888
1 parent ad94ce6 commit 7fbec6d

File tree

1 file changed

+3
-0
lines changed
  • extensions/markdown-math/notebook

1 file changed

+3
-0
lines changed

extensions/markdown-math/notebook/katex.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ export async function activate(ctx: RendererContext<void>) {
3333
.katex-error {
3434
color: var(--vscode-editorError-foreground);
3535
}
36+
.katex-block {
37+
counter-reset: katexEqnNo mmlEqnNo;
38+
}
3639
`;
3740

3841
// Put Everything into a template

0 commit comments

Comments
 (0)