From 87af399c2bcec860111283a2f72c00379763d967 Mon Sep 17 00:00:00 2001 From: CJ Avilla Date: Tue, 12 Jul 2022 17:23:44 -0400 Subject: [PATCH] Update tags docs about passing config --- pages/docs/tags.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';