Example Blog Post
2024-01-30
This is an example blog post written in MDX format. You can use all the standard Markdown features plus JSX components.
This is the preview section that will show on the homepage. Everything before the page break will be used as the preview text.
Code Highlighting
Here’s some TypeScript code with syntax highlighting:
function greet(name: string): string {
return `Hello, ${name}!`;
}
console.log(greet("World"));
Lists and Links
- First item
- Second item
- Link to Astro
Images
Images can be included with standard Markdown syntax:
More Content
This section would appear after the “Read More” link in the post preview. You can add as much content as needed here.
Subsections
You can organize your content with subsections and include:
- Numbered lists
- Code blocks
- Bold and italic text
- And much more!
The MDX format also supports importing and using React/Astro components if needed.