We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9663799 commit 24e29e8Copy full SHA for 24e29e8
packages/test-case-component/src/components/shikiComponent.tsx
@@ -36,12 +36,14 @@ export function ShikiComponent({
36
</Carousel>
37
</div>
38
39
- <details>
40
- <summary>JSON</summary>
41
- <pre className="max-w-xl overflow-auto">
42
- {JSON.stringify(data, null, 2)}
43
- </pre>
44
- </details>
+ {debug && (
+ <details>
+ <summary>JSON</summary>
+ <pre className="max-w-xl overflow-auto">
+ {JSON.stringify(data, null, 2)}
+ </pre>
45
+ </details>
46
+ )}
47
48
);
49
}
0 commit comments