Skip to content

Commit dd02023

Browse files
committed
style for mdx using custom react component
1 parent 2d58811 commit dd02023

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/data/reflections/one-more.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: one more - but this is mdx 👋
3+
publishDate: 30 Nov 2021
4+
description: testing out mdx rendering into the blog
5+
---
6+
7+
import Collage from '../../components/Collage.astro'
8+
9+
## My mdx page
10+
11+
this integrates a react component into a markdown file
12+
13+
<Collage></Collage>
14+
15+
### Another section
16+
17+
I can add more content after loading the custom react component on the markdown file

0 commit comments

Comments
 (0)