Skip to content

Commit 7dc0fec

Browse files
committed
chore: remove shiki
1 parent 3de71e9 commit 7dc0fec

File tree

6 files changed

+2
-82
lines changed

6 files changed

+2
-82
lines changed

docs/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"devDependencies": {
3838
"lodash.template": "^4.5.0",
3939
"rehype-pretty-code": "^0.13.2",
40-
"shiki": "^1.12.1",
4140
"tsx": "^4.16.5",
4241
"unist-builder": "^4.0.0",
4342
"unist-util-visit": "^5.0.0"

docs/src/components/raw-code.tsx

-59
This file was deleted.

docs/src/content/docs/components/accordion.mdx

+1-4
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,4 @@ import {
118118
<AccordionContent>Yes. It adheres to the WAI-ARIA design pattern.</AccordionContent>
119119
</AccordionItem>
120120
</Accordion>
121-
```import ComponentInstallation from "@/components/component-installation";
122-
import ComponentPreview from "@/components/component-preview";
123-
import ComponentSource from "@/components/component-source";
124-
121+
```

docs/src/content/docs/components/alert-dialog.mdx

+1-14
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,4 @@ import {
8282
</AlertDialogFooter>
8383
</AlertDialogContent>
8484
</AlertDialog>
85-
```import ComponentInstallation from "@/components/component-installation";
86-
import ComponentPreview from "@/components/component-preview";
87-
import RawCode from "@/components/raw-code.tsx";
88-
import TwRawCode from "@repo/tailwindcss/default/alert-dialog?raw";
89-
import UnoRawCode from "@repo/unocss/default/alert-dialog?raw";
90-
import ComponentInstallation from "@/components/component-installation";
91-
import ComponentPreview from "@/components/component-preview";
92-
import RawCode from "@/components/raw-code.tsx";
93-
import TwRawCode from "@repo/tailwindcss/default/alert-dialog?raw";
94-
import UnoRawCode from "@repo/unocss/default/alert-dialog?raw";
95-
import ComponentInstallation from "@/components/component-installation";
96-
import ComponentPreview from "@/components/component-preview";
97-
import ComponentSource from "@/components/component-source";
98-
85+
```

docs/src/content/docs/components/data-table.mdx

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ link:
88

99
import ComponentInstallation from "@/components/component-installation";
1010
import ComponentPreview from "@/components/component-preview";
11-
import RawCode from "@/components/raw-code.tsx";
1211

1312
<ComponentPreview name="data-table-demo" client:only="solid-js" />
1413

pnpm-lock.yaml

-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)