Skip to content

Commit 0271501

Browse files
authored
0.8.20 (#2183)
* feat: Update crossnote to 0.9.16 * fix: Fix a trivial bug related with multiple previews * feat: Ready to release 0.8.20 * fix: Restore nix shell to use yarn instead of pnpm
1 parent 719cca3 commit 0271501

File tree

5 files changed

+116
-98
lines changed

5 files changed

+116
-98
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.8.20] - 2025-11-01
11+
12+
Updated [crossnote](https://github.com/shd101wyy/crossnote) to version [0.9.16](https://github.com/shd101wyy/crossnote/releases/tag/0.9.16).
13+
14+
### Updates
15+
16+
- Update `mermaid` version to the latest `11.12.1`.
17+
- Update `katex` version to the latest `0.16.25`.
18+
19+
### Bug fixes
20+
21+
- Fix preview selection in loop iteration [PR#2182](https://github.com/shd101wyy/vscode-markdown-preview-enhanced/pull/2182).
22+
1023
## [0.8.19] - 2025-08-15
1124

1225
Updated [crossnote](https://github.com/shd101wyy/crossnote) to version [0.9.15](https://github.com/shd101wyy/crossnote/releases/tag/0.9.15).

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "markdown-preview-enhanced",
33
"displayName": "%displayName%",
4-
"version": "0.8.19",
4+
"version": "0.8.20",
55
"description": "%description%",
66
"categories": [
77
"Other"
@@ -697,7 +697,7 @@
697697
"@types/crypto-js": "^4.1.2",
698698
"@types/vfile": "^3.0.2",
699699
"async-mutex": "^0.4.0",
700-
"crossnote": "^0.9.15",
700+
"crossnote": "^0.9.16",
701701
"crypto-js": "^4.2.0"
702702
},
703703
"devDependencies": {
@@ -728,4 +728,4 @@
728728
"vscode": "^1.70.0"
729729
},
730730
"icon": "media/mpe.png"
731-
}
731+
}

src/preview-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ export class PreviewProvider {
532532
}
533533
for (let i = 0; i < previews.length; i++) {
534534
try {
535-
const preview = previews[0];
535+
const preview = previews[i];
536536
const {
537537
html,
538538
tocHTML,

0 commit comments

Comments
 (0)