Skip to content

Commit 0372cf1

Browse files
committed
use fast shiki
1 parent e4d7134 commit 0372cf1

File tree

3 files changed

+29
-8
lines changed

3 files changed

+29
-8
lines changed

package-lock.json

Lines changed: 26 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
"@babel/types": "^7.27.6",
4545
"@clack/prompts": "^0.11.0",
4646
"@heroicons/react": "^2.2.0",
47-
"@node-core/rehype-shiki": "1.0.1-1ccf19c1836415b6ec7bc2d63ffba4686b390ca9",
48-
"@node-core/ui-components": "1.0.1-49d65845ae6ff8d53a36f08f2f6353edc12d9b2f ",
47+
"@node-core/rehype-shiki": "1.0.1-6dcda98c94808919558c488d45925365b6558715",
48+
"@node-core/ui-components": "1.0.1-49d65845ae6ff8d53a36f08f2f6353edc12d9b2f",
4949
"@orama/orama": "^3.1.7",
5050
"@orama/plugin-data-persistence": "^3.1.7",
5151
"@orama/react-components": "^0.8.1",

src/utils/generators.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,6 @@ export const isTypedList = list => {
119119
// Types start with `<`
120120
children?.[2]?.children?.[0]?.value?.[0] === '<'
121121
: // Or a "Returns:"
122-
children?.[0]?.value.trim() === 'Returns:'
122+
children?.[0]?.value?.trim() === 'Returns:'
123123
);
124124
};

0 commit comments

Comments
 (0)