@shikijs/types 3.2.2 → 3.3.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.mts +7 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -651,6 +651,13 @@ interface CodeToHastOptionsCommon<Languages extends string = string> extends Tra
|
|
|
651
651
|
* @default true
|
|
652
652
|
*/
|
|
653
653
|
mergeWhitespaces?: boolean | 'never';
|
|
654
|
+
/**
|
|
655
|
+
* Merge consecutive tokens with the same style to reduce the number of DOM nodes.
|
|
656
|
+
* This can improve rendering performance but may affect the structure of the output.
|
|
657
|
+
*
|
|
658
|
+
* @default false
|
|
659
|
+
*/
|
|
660
|
+
mergeSameStyleTokens?: boolean;
|
|
654
661
|
/**
|
|
655
662
|
* The structure of the generated HAST and HTML.
|
|
656
663
|
*
|