diff --git a/src/content/docs/en/ecosystem/packages/markdown-remark.mdx b/src/content/docs/en/ecosystem/packages/markdown-remark.mdx index 9c30ac4d..9fc80923 100644 --- a/src/content/docs/en/ecosystem/packages/markdown-remark.mdx +++ b/src/content/docs/en/ecosystem/packages/markdown-remark.mdx @@ -108,7 +108,7 @@ import { render } from 'studiocms:markdown-remark'; import Custom from '../components/Custom.astro'; // @ts-ignore -const { html } = await render('# Hello World! ', {}, { $$result, {custom: Custom} }) +const { html } = await render('# Hello World! ', {}, { $$result, components: {custom: Custom} }) --- @@ -213,4 +213,4 @@ const { html } = await render(content) {html} -``` \ No newline at end of file +```