Skip to content

Commit fd6ac54

Browse files
authored
fix: Fixed prismjs that caused problem in vscode web (#372)
1 parent f7f6ba3 commit fd6ac54

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ Please visit https://github.com/shd101wyy/vscode-markdown-preview-enhanced/relea
44

55
## [Unreleased]
66

7+
## [0.9.14] - 2025-03-16
8+
9+
### Bug fixes
10+
11+
- Fixed the build for vscode-web caused by prismjs.
12+
713
## [0.9.13] - 2025-03-16
814

915
### Bug fixes

dependencies/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ I managed some of the libraries by myself instead of through npm to reduce the o
2424
_Attention_: Need to remove `font: inherit;` from `reveal.css`. Otherwise, `KaTeX` and `MathJax` will have trouble rendering. Also don't forget to add the empty file `none.css`.
2525

2626
_Attention_: Don't forget to modify the `dependentLibraryMaterials` variable in `markdown-engine.ts`
27+
28+
_Attention_: NOTE: We have to disable the `_self = window` line in `prism.js` to make it work with VSCode web extension.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "crossnote",
3-
"version": "0.9.13",
3+
"version": "0.9.14",
44
"description": "A powerful markdown notebook tool",
55
"keywords": [
66
"markdown"

0 commit comments

Comments
 (0)