diff --git a/docs/packages/next.md b/docs/packages/next.md index 0de6def7..df607db0 100644 --- a/docs/packages/next.md +++ b/docs/packages/next.md @@ -75,7 +75,7 @@ interface Props { } async function CodeBlock(props: Props) { - const out = await codeToHtml(props.children, { + const out = await codeToHast(props.children, { lang: props.lang, theme: 'github-dark' })