pull/715/head
Travis Fischer 2025-06-25 00:19:18 -05:00
rodzic 194707b340
commit 463671abde
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -53,7 +53,7 @@ export default async function TheBestDamnLandingPageEver() {
{/* How it works section */}
<section className='flex flex-col gap-8 mb-16'>
<h2 className='text-center text-balance leading-snug md:leading-none text-3xl font-heading'>
How It Works
LLM Tools that work everywhere
</h2>
<ExampleUsage

Wyświetl plik

@ -18,7 +18,7 @@ export async function highlight({
}): Promise<JSX.Element> {
className = cn('w-full text-wrap p-4 text-sm rounded-sm', className)
const out = await codeToHast(code, {
const hast = await codeToHast(code, {
lang,
theme,
// TODO: use a custom `pre` element down below instead of this
@ -33,7 +33,7 @@ export async function highlight({
]
})
return toJsxRuntime(out, {
return toJsxRuntime(hast, {
Fragment,
jsx,
jsxs