Example Post Title
December 2024
This is an example blog post written in MDX. You can use all the standard Markdown syntax plus React components.
Why MDX is great
MDX lets you write content that's easy to maintain while still having the flexibility of React when you need it.
Here's what you can do:
- Write in familiar Markdown syntax
- Embed React components when needed
- Keep your content in version control
- Easy to update and maintain
Code examples
You can include code blocks with syntax highlighting:
function greet(name: string): string {
return `Hello, ${name}!`;
}
What's next
Replace this content with your own posts. Each post is just an MDX file in its
own folder under /src/app/writing/.
To add a new post:
- Create a new folder under
/src/app/writing/your-post-slug - Add a
page.mdxfile with your content - Update the posts array in
/src/app/writing/page.tsx