Skip to content

Commit

Permalink
docs: πŸ“– tweak README and CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
brklntmhwk committed Oct 31, 2024
1 parent 080bd4a commit 0ce282d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';
// ...
Expand All @@ -218,6 +219,7 @@ export const mdxComponents = {
};
```

`~/pages/page.astro`
```astro
---
import { mdxComponents } from '~/lib/mdx-components';
Expand Down

0 comments on commit 0ce282d

Please sign in to comment.