@vuepress/plugin-shiki 2.0.0-beta.25 → 2.0.0-beta.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/node/shikiPlugin.js +1 -1
- package/package.json +4 -4
package/lib/node/shikiPlugin.js
CHANGED
|
@@ -5,7 +5,7 @@ const shiki_1 = require("shiki");
|
|
|
5
5
|
const shikiPlugin = ({ theme = 'nord', langs = [], }) => ({
|
|
6
6
|
name: '@vuepress/plugin-shiki',
|
|
7
7
|
async extendsMarkdown(md) {
|
|
8
|
-
const highlighter = await shiki_1.getHighlighter({
|
|
8
|
+
const highlighter = await (0, shiki_1.getHighlighter)({
|
|
9
9
|
theme,
|
|
10
10
|
langs,
|
|
11
11
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuepress/plugin-shiki",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.29",
|
|
4
4
|
"description": "VuePress plugin - shiki",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuepress-plugin",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"clean": "rimraf lib *.tsbuildinfo"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@vuepress/core": "2.0.0-beta.
|
|
33
|
-
"shiki": "^0.9.
|
|
32
|
+
"@vuepress/core": "2.0.0-beta.29",
|
|
33
|
+
"shiki": "^0.9.14"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "2c6eb4270f96b6351cd1f565798bed1f662a6bb2"
|
|
39
39
|
}
|