From 0ce282d231246f0800cf3651ca4285ea5b1c685b Mon Sep 17 00:00:00 2001 From: brklntmhwk_w <86272619+brklntmhwk@users.noreply.github.com.> Date: Thu, 31 Oct 2024 13:59:26 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=93=96=20tweak=20README=20and=20C?= =?UTF-8?q?HANGELOG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6381b9b..26787eb 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,7 @@ export default defineConfig({ Also, if you want to use your Astro component(s) for customization purposes, make sure to set the `customHTMLTags.enabled` to `true` and assign your custom components like this: +`~/lib/mdx-components.ts` ```ts import { Card, CardGrid } from '~/components/elements/Card'; // ... @@ -218,6 +219,7 @@ export const mdxComponents = { }; ``` +`~/pages/page.astro` ```astro --- import { mdxComponents } from '~/lib/mdx-components';