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 fe3d995 commit b45a6d8Copy full SHA for b45a6d8
lib/Code/Code.Client.tsx
@@ -1,11 +1,12 @@
1
'use client';
2
+import { transformerNotationHighlight } from '@shikijs/transformers';
3
import { Components, toJsxRuntime } from 'hast-util-to-jsx-runtime';
4
import type { JSX } from 'react';
5
import { Fragment, useLayoutEffect, useState } from 'react';
6
import { jsx, jsxs } from 'react/jsx-runtime';
7
import type { BundledLanguage } from 'shiki/bundle/web';
8
import { CodeBlockComponent } from './Code';
-import { transformerNotationHighlight } from '@shikijs/transformers';
9
+import './Code.css';
10
11
const highlight = async (
12
code: string,
0 commit comments