Hello, world
First post in the blog scaffold.
This is an MDX post. Standard markdown works, plus you can import and use Astro components inline.
Components in posts
Callouts, code blocks, embedded charts — anything that’s an Astro component.
Code
const greeting: string = "hello from MDX";
console.log(greeting);
Lists
- Frontmatter is validated against the schema in
src/content.config.ts. - Each
.mdxfile insrc/content/blog/becomes a post at/blog/<slug>. - Add
draft: trueto hide a post from the index.