title: "Example Blog Post" date: "2025-05-15" slug: "example-blog-post" published: true layout: "blog-post" tags:
This post serves as a fixture to validate Markdown parsing and layout rendering. It's written in standard .md, parsed via marked, sanitized for XSS, and passed through a custom layout engine using express-handlebars.
I chose to use markdown because it's:
inline codegray-matter + markedxss-clean middlewarepostcss-importCode blocks are highlighted using native <pre><code> tags. Language inference and highlighting are not handled by JavaScript on the client—deliberate decision to avoid runtime bloat.
console.log("Hello, world!");