@rspress/shared 2.0.4 → 2.0.5
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 +8 -0
- package/dist/node-utils.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -277,6 +277,14 @@ export declare interface MarkdownOptions {
|
|
|
277
277
|
* @default true
|
|
278
278
|
*/
|
|
279
279
|
extractDescription?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* Whether to enable CJK-friendly emphasis and strikethrough handling.
|
|
282
|
+
* This fixes a CommonMark specification issue where emphasis/strong and strikethrough markers (`*`, `**`, `~~`)
|
|
283
|
+
* are not recognized correctly when CJK characters are adjacent.
|
|
284
|
+
* @default true
|
|
285
|
+
* @see {@link https://github.com/tats-u/markdown-cjk-friendly}
|
|
286
|
+
*/
|
|
287
|
+
cjkFriendlyEmphasis?: boolean;
|
|
280
288
|
}
|
|
281
289
|
|
|
282
290
|
export declare const matchNavbar: (item: NavItemWithLink, currentPathname: string) => boolean;
|
package/dist/node-utils.d.ts
CHANGED
|
@@ -276,6 +276,14 @@ declare interface MarkdownOptions {
|
|
|
276
276
|
* @default true
|
|
277
277
|
*/
|
|
278
278
|
extractDescription?: boolean;
|
|
279
|
+
/**
|
|
280
|
+
* Whether to enable CJK-friendly emphasis and strikethrough handling.
|
|
281
|
+
* This fixes a CommonMark specification issue where emphasis/strong and strikethrough markers (`*`, `**`, `~~`)
|
|
282
|
+
* are not recognized correctly when CJK characters are adjacent.
|
|
283
|
+
* @default true
|
|
284
|
+
* @see {@link https://github.com/tats-u/markdown-cjk-friendly}
|
|
285
|
+
*/
|
|
286
|
+
cjkFriendlyEmphasis?: boolean;
|
|
279
287
|
}
|
|
280
288
|
|
|
281
289
|
export declare const mergeDocConfig: (...configs: UserConfig[]) => Promise<UserConfig>;
|