Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/docs/en/ecosystem/packages/markdown-remark.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ import { render } from 'studiocms:markdown-remark';
import Custom from '../components/Custom.astro';

// @ts-ignore
const { html } = await render('# Hello World! <custom></custom>', {}, { $$result, {custom: Custom} })
const { html } = await render('# Hello World! <custom></custom>', {}, { $$result, components: {custom: Custom} })
---
<html>
<head>
Expand Down Expand Up @@ -213,4 +213,4 @@ const { html } = await render(content)
{html}
</body>
</html>
```
```