diff options
author | Ping <5123601+pingren@users.noreply.github.com> | 2022-11-02 11:09:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 11:09:32 +0300 |
commit | 7fbec6dcc9262947012eb4dcbe763e6ec7b62ef0 (patch) | |
tree | eed46e31fdf004f1f413251d8a532e7b22d6baf2 /extensions | |
parent | ad94ce6435507ec66847d6a7c45f355bec2a97f8 (diff) |
Fix KaTeX equation numbering in notebook preview (#156276)
Fixes https://github.com/microsoft/vscode/issues/155888
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/markdown-math/notebook/katex.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/markdown-math/notebook/katex.ts b/extensions/markdown-math/notebook/katex.ts index 299ab9373de..631b3ac51c5 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<void>) { .katex-error { color: var(--vscode-editorError-foreground); } + .katex-block { + counter-reset: katexEqnNo mmlEqnNo; + } `; // Put Everything into a template |