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
2 changes: 1 addition & 1 deletion pages/docs/tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const content = Markdoc.transform(ast, config);
const children = Markdoc.renderers.react(content, React, { components });
```

Next, pass your config to `Markdoc.render`. If you want to render a React component, specify which component should render this type of tag in the `components` mapping.
Next, pass your config to `Markdoc.transform`. If you want to render a React component, specify which component should render this type of tag in the `components` mapping.

```jsx
import * as React from 'react';
Expand Down