Skip to content

Commit cf25565

Browse files
Update tags docs about passing config (#72)
1 parent 6caf128 commit cf25565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/docs/tags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const content = Markdoc.transform(ast, config);
7878
const children = Markdoc.renderers.react(content, React, { components });
7979
```
8080

81-
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.
81+
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.
8282

8383
```jsx
8484
import * as React from 'react';

0 commit comments

Comments
 (0)