Test Post
This is a test post to confirm Astro’s content collections render markdown end-to-end. If you’re reading this on /blog/test-post, the pipeline works.
What this verifies
The pipeline covers frontmatter parsing, markdown body rendering, and routing through the dynamic [slug].astro page.
Things that should render correctly below:
- Headings at multiple levels
- Paragraphs with bold and italic text
- Code blocks with Shiki syntax highlighting
- Bulleted and numbered lists
- Image references resolved from
public/
A code sample
import { getCollection } from 'astro:content';
const posts = await getCollection('blog');
const sorted = posts.sort(
(a, b) => b.data.date.valueOf() - a.data.date.valueOf(),
);
An ordered list
- Drop a markdown file into
src/content/blog/ - Frontmatter is validated against
src/content.config.ts - The dynamic route
[slug].astrobuilds a static page at/blog/<slug>
An image reference

The image above will 404 until public/images/blog/test.jpg exists — that’s expected for this scaffold check.