Hello, world
This is a complex article: authored as MDX in the repo, built to a static page by GitHub Actions. It can contain interactive React islands that a quick note could never have:
Why two content pipelines?
- Notes are for zero-friction capture — open the editor, type, publish.
- Posts like this one are for content that needs custom components, code playgrounds, or careful layout work.
// MDX posts get full syntax highlighting via Shiki at build time.
export function greet(name: string) {
return `Hello, ${name}!`;
}
评论
加载中…