@rspress/plugin-preview 2.0.0-beta.13 → 2.0.0-beta.14

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 CHANGED
@@ -527,7 +527,6 @@ function pluginPreview(options) {
527
527
  },
528
528
  extendPageData (pageData, isProd) {
529
529
  if (!isProd) pageData.devPort = port;
530
- pageData.extraHighlightLanguages = previewLanguages;
531
530
  },
532
531
  markdown: {
533
532
  remarkPlugins: [
package/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  declare module '@rspress/shared' {
2
2
  interface PageIndexInfo {
3
3
  devPort?: number;
4
- extraHighlightLanguages?: string[];
5
4
  }
6
5
  }
7
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-preview",
3
- "version": "2.0.0-beta.13",
3
+ "version": "2.0.0-beta.14",
4
4
  "description": "A plugin for rspress to preview the code block in markdown/mdx file.",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -31,8 +31,8 @@
31
31
  "@rsbuild/plugin-solid": "~1.0.5",
32
32
  "lodash": "4.17.21",
33
33
  "qrcode.react": "^4.2.0",
34
- "@rspress/shared": "2.0.0-beta.13",
35
- "@rspress/theme-default": "2.0.0-beta.13"
34
+ "@rspress/shared": "2.0.0-beta.14",
35
+ "@rspress/theme-default": "2.0.0-beta.14"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@rslib/core": "0.9.2",
@@ -52,7 +52,7 @@
52
52
  "unist-util-visit": "^5.0.0"
53
53
  },
54
54
  "peerDependencies": {
55
- "@rspress/core": "^2.0.0-beta.13",
55
+ "@rspress/core": "^2.0.0-beta.14",
56
56
  "react": ">=18.0.0",
57
57
  "react-router-dom": "^6.8.1"
58
58
  },