Skip to content

Commit 6268c1f

Browse files
Changeset: describe VS Code math bug as blocked CDN access
Co-authored-by: J. Simon Richard <jsimonrichard@gmail.com>
1 parent dbd0dc9 commit 6268c1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.changeset/vscode-latex-mathjax-url-import.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
vscode-prosemark-latex-integration: patch
33
---
44

5-
Fix LaTeX math failing to render in the VS Code webview caused by bundling MathJax into the extension in 0.0.2. Load MathJax from a self-hosted `mathjax/` folder with `url-import` and pass the package URL from the extension host via `webview.asWebviewUri`.
5+
Fix LaTeX math failing to render in the VS Code webview when MathJax was loaded from a CDN without explicitly listing it in the extension's `package.json` settings. Self-host MathJax with `url-import` (`tex-svg.js` and `sre/` under `dist/webview/mathjax/`) and pass the package URL from the extension host via `webview.asWebviewUri`.

0 commit comments

Comments
 (0)