Skip to content

Commit

Permalink
Fix KaTeX equation numbering in notebook preview (#156276)
Browse files Browse the repository at this point in the history
Fixes #155888
  • Loading branch information
pingren authored Nov 2, 2022
1 parent ad94ce6 commit 7fbec6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extensions/markdown-math/notebook/katex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export async function activate(ctx: RendererContext<void>) {
.katex-error {
color: var(--vscode-editorError-foreground);
}
.katex-block {
counter-reset: katexEqnNo mmlEqnNo;
}
`;

// Put Everything into a template
Expand Down

0 comments on commit 7fbec6d

Please sign in to comment.