From 05a1c34c6f6973eebcbcc50f50b64c2a0d62e8fa Mon Sep 17 00:00:00 2001 From: Florence <59734957+Pydes-boop@users.noreply.github.com> Date: Wed, 01 Nov 2023 16:57:32 +0000 Subject: [PATCH] docs: remove dead link (#561) --- docs/advanced/making plugins.md | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/docs/advanced/making plugins.md b/docs/advanced/making plugins.md index 1f1616f..d0934ad 100644 --- a/docs/advanced/making plugins.md +++ b/docs/advanced/making plugins.md @@ -247,7 +247,7 @@ - Your component should use `getQuartzComponents` to declare a list of `QuartzComponents` that it uses to construct the page. See the page on [[creating components]] for more information. - You can use the `renderPage` function defined in `quartz/components/renderPage.tsx` to render Quartz components into HTML. -- If you need to render an HTML AST to JSX, you can use the `toJsxRuntime` function from `hast-util-to-jsx-runtime` library. An example of this can be found in `quartz/components/pages/Content.tsx`. +- If you need to render an HTML AST to JSX, you can use the `htmlToJsx` function from `quartz/util/jsx.ts`. An example of this can be found in `quartz/components/pages/Content.tsx`. For example, the following is a simplified version of the content page plugin that renders every single page. -- Gitblit v1.10.0