Hello, world
This site is plain Markdown files built with Astro and served from Cloudflare.
Code
Code is highlighted at build time with a Gruvbox Material theme, so pages ship with no JavaScript:
interface Post {
title: string;
date: Date;
}
// Newest first.
export function sortPosts(posts: Post[]): Post[] {
return [...posts].sort((a, b) => b.date.valueOf() - a.date.valueOf());
}
npm run dev # preview locally
git push # publish
Inline code like npm run dev works too.
Everything else
- Lists
- Links
- Emphasis and bold
Quotes look like this.