This is the first post in my personal knowledge base. If you're reading this on the deployed
site, that means the Velite content pipeline is working end-to-end: this file lives at
apps/web/content/blog/welcome.mdx, gets compiled at build time, and is rendered from a
static route.
Why a knowledge base
Notes I want to find again. Snippets I keep re-deriving. Half-formed thoughts that turn into something useful once I write them down.
Authoring a new post
- Drop a new
.mdxfile inapps/web/content/blog/ - Add the standard frontmatter —
title,description,date,tags,draft - Write. MDX means full Markdown plus React components when you need them.
The post list at /blog updates automatically. The search box on that page does fuzzy
matching across the title, description, tags, and the full body — so a phrase you
remember from inside the post is enough to find it.
A code block, because every blog needs one
function hello(name: string) {
return `hello, ${name}`;
}
That's it for the first post. Onward.