diff --git a/pages/docs/tags.md b/pages/docs/tags.md index 441d6cf6..b53e53b0 100644 --- a/pages/docs/tags.md +++ b/pages/docs/tags.md @@ -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';