@vuepress/markdown 2.0.0-beta.51 → 2.0.0-beta.53
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 +1 -1
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -259,7 +259,7 @@ var codePlugin = (md, {
|
|
|
259
259
|
const lineNumbersCode = lines.map(() => `<div class="line-number"></div>`).join("");
|
|
260
260
|
result = `${result}<div class="line-numbers" aria-hidden="true">${lineNumbersCode}</div>`;
|
|
261
261
|
}
|
|
262
|
-
result = `<div class="${languageClass}
|
|
262
|
+
result = `<div class="${languageClass}${useLineNumbers ? " line-numbers-mode" : ""}" data-ext="${language.ext}">${result}</div>`;
|
|
263
263
|
return result;
|
|
264
264
|
};
|
|
265
265
|
if (vPreInline) {
|
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.53",
|
|
4
4
|
"description": "Markdown package of VuePress",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuepress",
|
|
@@ -27,20 +27,20 @@
|
|
|
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.
|
|
30
|
+
"@mdit-vue/plugin-component": "^0.11.1",
|
|
31
|
+
"@mdit-vue/plugin-frontmatter": "^0.11.1",
|
|
32
|
+
"@mdit-vue/plugin-headers": "^0.11.1",
|
|
33
|
+
"@mdit-vue/plugin-sfc": "^0.11.1",
|
|
34
|
+
"@mdit-vue/plugin-title": "^0.11.1",
|
|
35
|
+
"@mdit-vue/plugin-toc": "^0.11.1",
|
|
36
|
+
"@mdit-vue/shared": "^0.11.0",
|
|
37
|
+
"@mdit-vue/types": "^0.11.0",
|
|
38
38
|
"@types/markdown-it": "^12.2.3",
|
|
39
39
|
"@types/markdown-it-emoji": "^2.0.2",
|
|
40
|
-
"@vuepress/shared": "2.0.0-beta.
|
|
41
|
-
"@vuepress/utils": "2.0.0-beta.
|
|
40
|
+
"@vuepress/shared": "2.0.0-beta.53",
|
|
41
|
+
"@vuepress/utils": "2.0.0-beta.53",
|
|
42
42
|
"markdown-it": "^13.0.1",
|
|
43
|
-
"markdown-it-anchor": "^8.6.
|
|
43
|
+
"markdown-it-anchor": "^8.6.5",
|
|
44
44
|
"markdown-it-emoji": "^2.0.2",
|
|
45
45
|
"mdurl": "^1.0.1"
|
|
46
46
|
},
|