@vuepress/markdown 2.0.0-beta.67 → 2.0.0-beta.68
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/dist/index.js +2 -2
- package/package.json +16 -16
package/dist/index.js
CHANGED
|
@@ -370,7 +370,7 @@ var importCodePlugin = (md, options = {}) => {
|
|
|
370
370
|
token.content = importCode;
|
|
371
371
|
if (importFilePath) {
|
|
372
372
|
;
|
|
373
|
-
(env.importedFiles
|
|
373
|
+
(env.importedFiles ??= []).push(importFilePath);
|
|
374
374
|
}
|
|
375
375
|
return md.renderer.rules.fence(tokens, idx, options2, env, slf);
|
|
376
376
|
};
|
|
@@ -456,7 +456,7 @@ var linksPlugin = (md, options = {}) => {
|
|
|
456
456
|
hasOpenInternalLink = true;
|
|
457
457
|
}
|
|
458
458
|
hrefAttr[1] = `${normalizedPath}${rawHash}`;
|
|
459
|
-
(env.links
|
|
459
|
+
(env.links ??= []).push({
|
|
460
460
|
raw: hrefLink,
|
|
461
461
|
relative: relativePath,
|
|
462
462
|
absolute: absolutePath
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vuepress/markdown",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.68",
|
|
4
4
|
"description": "Markdown package of VuePress",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuepress",
|
|
@@ -27,25 +27,25 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@mdit-vue/plugin-component": "^0.
|
|
31
|
-
"@mdit-vue/plugin-frontmatter": "^0.
|
|
32
|
-
"@mdit-vue/plugin-headers": "^0.
|
|
33
|
-
"@mdit-vue/plugin-sfc": "^0.
|
|
34
|
-
"@mdit-vue/plugin-title": "^0.
|
|
35
|
-
"@mdit-vue/plugin-toc": "^0.
|
|
36
|
-
"@mdit-vue/shared": "^0.
|
|
37
|
-
"@mdit-vue/types": "^0.
|
|
38
|
-
"@types/markdown-it": "^13.0.
|
|
39
|
-
"@types/markdown-it-emoji": "^2.0.
|
|
40
|
-
"markdown-it": "^13.0.
|
|
30
|
+
"@mdit-vue/plugin-component": "^1.0.0",
|
|
31
|
+
"@mdit-vue/plugin-frontmatter": "^1.0.0",
|
|
32
|
+
"@mdit-vue/plugin-headers": "^1.0.0",
|
|
33
|
+
"@mdit-vue/plugin-sfc": "^1.0.0",
|
|
34
|
+
"@mdit-vue/plugin-title": "^1.0.0",
|
|
35
|
+
"@mdit-vue/plugin-toc": "^1.0.0",
|
|
36
|
+
"@mdit-vue/shared": "^1.0.0",
|
|
37
|
+
"@mdit-vue/types": "^1.0.0",
|
|
38
|
+
"@types/markdown-it": "^13.0.6",
|
|
39
|
+
"@types/markdown-it-emoji": "^2.0.4",
|
|
40
|
+
"markdown-it": "^13.0.2",
|
|
41
41
|
"markdown-it-anchor": "^8.6.7",
|
|
42
42
|
"markdown-it-emoji": "^2.0.2",
|
|
43
43
|
"mdurl": "^1.0.1",
|
|
44
|
-
"@vuepress/shared": "2.0.0-beta.
|
|
45
|
-
"@vuepress/utils": "2.0.0-beta.
|
|
44
|
+
"@vuepress/shared": "2.0.0-beta.68",
|
|
45
|
+
"@vuepress/utils": "2.0.0-beta.68"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@types/mdurl": "^1.0.
|
|
48
|
+
"@types/mdurl": "^1.0.5"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
],
|
|
62
62
|
"outDir": "./dist",
|
|
63
63
|
"sourcemap": false,
|
|
64
|
-
"target": "
|
|
64
|
+
"target": "es2022",
|
|
65
65
|
"tsconfig": "../tsconfig.dts.json"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|