diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index 361d8709..4695f6d4 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -53,7 +53,7 @@ export default async function TheBestDamnLandingPageEver() { {/* How it works section */}

- How It Works + LLM Tools that work everywhere

{ 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