@rspress/shared 1.0.0-beta.2 → 1.0.0-beta.3

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +14 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -615,10 +615,23 @@ type SearchOptions = LocalSearchOptions | RemoteSearchOptions | false;
615
615
  interface MarkdownOptions {
616
616
  remarkPlugins?: PluggableList;
617
617
  rehypePlugins?: PluggableList;
618
+ /**
619
+ * Whether to enable check dead links, default is false
620
+ */
618
621
  checkDeadLinks?: boolean;
619
- experimentalMdxRs?: boolean;
620
622
  showLineNumbers?: boolean;
623
+ /**
624
+ * Register global components in mdx files
625
+ */
621
626
  globalComponents?: string[];
627
+ /**
628
+ * Whether to enable mdx-rs, default is true
629
+ */
630
+ mdxRs?: boolean;
631
+ /**
632
+ * @deprecated, use `mdxRs` instead
633
+ */
634
+ experimentalMdxRs?: boolean;
622
635
  }
623
636
  type Config = UserConfig | Promise<UserConfig> | ((env: any) => UserConfig | Promise<UserConfig>);
624
637
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",