@rspress/shared 1.4.1 → 1.5.0
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.d.ts +5 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
@@ -504,6 +504,7 @@ interface SiteData<ThemeConfig = NormalizedConfig> {
|
|
504
504
|
ssg: boolean;
|
505
505
|
markdown: {
|
506
506
|
showLineNumbers: boolean;
|
507
|
+
defaultWrapCode: boolean;
|
507
508
|
};
|
508
509
|
multiVersion: {
|
509
510
|
default: string;
|
@@ -629,6 +630,10 @@ interface MarkdownOptions {
|
|
629
630
|
*/
|
630
631
|
checkDeadLinks?: boolean;
|
631
632
|
showLineNumbers?: boolean;
|
633
|
+
/**
|
634
|
+
* Whether to wrap code by default, default is false
|
635
|
+
*/
|
636
|
+
defaultWrapCode?: boolean;
|
632
637
|
/**
|
633
638
|
* Register global components in mdx files
|
634
639
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rspress/shared",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.5.0",
|
4
4
|
"types": "./dist/index.d.ts",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"module": "./dist/index.mjs",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
}
|
23
23
|
},
|
24
24
|
"dependencies": {
|
25
|
-
"@rsbuild/core": "0.0.
|
25
|
+
"@rsbuild/core": "0.0.13",
|
26
26
|
"unified": "10.1.2",
|
27
27
|
"chalk": "4.1.2",
|
28
28
|
"rslog": "^1.1.0"
|