Skip to content

Commit

Permalink
feat: Ready to release version 0.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
shd101wyy committed Oct 13, 2023
1 parent 790352e commit 1c275d9
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 37 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.8.6] - 2023-10-13

This MPE version reduced the VS Code version requirement to 1.70.0 or above.

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

### New features

- Added two more syntaxes to import files in addition to the `@import` syntax. Please note that these syntaxes only work on new lines. For example, they won't work within list items.
- Use the image syntax but with other file extensions:
```markdown
![](path/to/file.md)
![](path/to/test.py){.line-numbers}
![](path/to/test.js){code_block=true}
```
- Use the wikilink syntax but with other file extensions:
```markdown
![[file]]
![[path/to/test.py]]{.line-numbers}
![[path/to/test.js]]{code_block=true}
```

### Bug fixes

- Fixed a header id generation bug https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/1833
- Fixed parsing block attributes from curly bracket when `enableTypographer` is enabled https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/1823
- Fixed the bug of not rendering the `@import` file:
- https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/1832
- https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/1834
- Fixed rendering the vega and vega-lite diagrams.

## [0.8.5] - 2023-10-10

Please note this version requires VS Code 1.82.0 or above.
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "markdown-preview-enhanced",
"displayName": "%displayName%",
"version": "0.8.5",
"version": "0.8.6",
"description": "%description%",
"categories": [
"Other"
Expand Down Expand Up @@ -674,14 +674,14 @@
"@types/crypto-js": "^4.1.2",
"@types/vfile": "^3.0.2",
"async-mutex": "^0.4.0",
"crossnote": "^0.8.24",
"crossnote": "^0.9.0",
"crypto-js": "^4.1.1"
},
"devDependencies": {
"@types/cheerio": "0.22.11",
"@types/mocha": "^5.2.5",
"@types/node": "18",
"@types/vscode": "1.82.0",
"@types/node": "16",
"@types/vscode": "1.70.0",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vscode/test-web": "^0.0.45",
Expand All @@ -702,7 +702,7 @@
"webpack-cli": "^5.1.4"
},
"engines": {
"vscode": "^1.82.0"
"vscode": "^1.70.0"
},
"icon": "media/mpe.png"
}
52 changes: 20 additions & 32 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -455,10 +455,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.5.7.tgz#4b8ecac87fbefbc92f431d09c30e176fc0a7c377"
integrity sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==

"@types/node@18":
version "18.18.4"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.18.4.tgz#519fef47a13cf869be290c20fc6ae9b7fe887aa7"
integrity sha512-t3rNFBgJRugIhackit2mVcLfF6IRc0JE4oeizPQL8Zrm8n2WY/0wOdpOPhdtG0V9Q2TlW/axbF1MJ6z+Yj/kKQ==
"@types/node@16":
version "16.18.58"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.58.tgz#bf66f63983104ed57c754f4e84ccaf16f8235adb"
integrity sha512-YGncyA25/MaVtQkjWW9r0EFBukZ+JulsLcVZBlGUfIb96OBMjkoRWwQo5IEWJ8Fj06Go3GHw+bjYDitv6BaGsA==

"@types/semver@^7.5.0":
version "7.5.1"
Expand Down Expand Up @@ -491,10 +491,10 @@
"@types/unist" "*"
"@types/vfile-message" "*"

"@types/vscode@1.82.0":
version "1.82.0"
resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.82.0.tgz#89b0b21179dcf5e8cee1664a9a05c5f6c60d38d0"
integrity sha512-VSHV+VnpF8DEm8LNrn8OJ8VuUNcBzN3tMvKrNpbhhfuVjFm82+6v44AbDhLvVFgCzn6vs94EJNTp7w8S6+Q1Rw==
"@types/vscode@1.70.0":
version "1.70.0"
resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.70.0.tgz#9cb14cdaac9f450a7005ae2db49ecee4a084c983"
integrity sha512-3/9Fz0F2eBgwciazc94Ien+9u1elnjFg9YAhvAb3qDy/WeFWD9VrOPU7CIytryOVUdbxus8uzL4VZYONA0gDtA==

"@types/yauzl@^2.9.1":
version "2.10.1"
Expand Down Expand Up @@ -588,6 +588,11 @@
"@typescript-eslint/types" "6.5.0"
eslint-visitor-keys "^3.4.1"

"@ungap/structured-clone@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==

"@viz-js/viz@^3.1.0":
version "3.2.0"
resolved "https://registry.yarnpkg.com/@viz-js/viz/-/viz-3.2.0.tgz#fc912f8f95aace478c391bebeedd3a3a7a86ac17"
Expand Down Expand Up @@ -1920,17 +1925,18 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3:
shebang-command "^2.0.0"
which "^2.0.1"

crossnote@^0.8.24:
version "0.8.24"
resolved "https://registry.yarnpkg.com/crossnote/-/crossnote-0.8.24.tgz#6d74a67d187ab7ffc4562399cf5c08e81fa97eb4"
integrity sha512-MIlpF1QGc4FwfBM8ubx0BY/d97ytMxlxtTMNU6fzLUBzNSHVDMpe0u34ZW/TFGP18HhzE9lim5/ifVfXP2WEFg==
crossnote@^0.9.0:
version "0.9.0"
resolved "https://registry.yarnpkg.com/crossnote/-/crossnote-0.9.0.tgz#d80d54475851731eb472c423807fe6457cd09327"
integrity sha512-cZxABYVaRKbxByXdPKs7B9ncco4rWiqUxK3zVAQ/CyaUsm7m/WiJQ44xkPKAJ5jisRFTABPBGVegAmQyBqOnjg==
dependencies:
"@headlessui/react" "^1.7.17"
"@heroicons/react" "^2.0.18"
"@mdi/js" "^7.2.96"
"@mdi/react" "^1.6.1"
"@monaco-editor/react" "^4.5.2"
"@sanity/diff-match-patch" "^3.1.1"
"@ungap/structured-clone" "^1.2.0"
"@viz-js/viz" "^3.1.0"
async-mutex "^0.4.0"
bit-field "^1.8.0"
Expand Down Expand Up @@ -1985,7 +1991,6 @@ crossnote@^0.8.24:
unstated-next "^1.1.0"
uslug "^1.0.4"
vega "^5.25.0"
vega-lite "^5.14.1"
vega-loader "^4.5.1"
vscode-uri "^3.0.7"
yaml "^2.3.2"
Expand Down Expand Up @@ -4872,11 +4877,6 @@ json-stable-stringify-without-jsonify@^1.0.1:
resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==

json-stringify-pretty-compact@~3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/json-stringify-pretty-compact/-/json-stringify-pretty-compact-3.0.0.tgz#f71ef9d82ef16483a407869556588e91b681d9ab"
integrity sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA==

json-stringify-safe@~5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
Expand Down Expand Up @@ -8174,7 +8174,7 @@ tslib@^1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==

tslib@^2.0.1, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.0, tslib@~2.6.2:
tslib@^2.0.1, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.0:
version "2.6.2"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
Expand Down Expand Up @@ -8681,18 +8681,6 @@ vega-label@~1.2.1:
vega-scenegraph "^4.9.2"
vega-util "^1.15.2"

vega-lite@^5.14.1:
version "5.15.0"
resolved "https://registry.yarnpkg.com/vega-lite/-/vega-lite-5.15.0.tgz#aa339a0f66df2ef4b02e729f446a91b502f541e9"
integrity sha512-Eac4VBhdtwbJQWH8m2OaRba/YVZbUHlmTAiPfiF3XIapJ73rcs+gHZBE1DfYgfoGjBN+5YJUMvdgm4UE7j/Ncg==
dependencies:
json-stringify-pretty-compact "~3.0.0"
tslib "~2.6.2"
vega-event-selector "~3.0.1"
vega-expression "~5.1.0"
vega-util "~1.17.2"
yargs "~17.7.2"

vega-loader@^4.5.1, vega-loader@~4.5.1:
version "4.5.1"
resolved "https://registry.yarnpkg.com/vega-loader/-/vega-loader-4.5.1.tgz#b85262b3cb8376487db0c014a8a13c3a5e6d52ad"
Expand Down Expand Up @@ -9255,7 +9243,7 @@ yargs@17.7.1:
y18n "^5.0.5"
yargs-parser "^21.1.1"

yargs@^17.6.2, yargs@^17.7.2, yargs@~17.7.2:
yargs@^17.6.2, yargs@^17.7.2:
version "17.7.2"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269"
integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==
Expand Down

0 comments on commit 1c275d9

Please sign in to comment.