Hello World


Welcome to my blog. Posts are markdown files compiled by mdsvex, so Svelte components and expressions work inside them too.

A heading

Some more text under a heading, with a link and a bit of inline code.

print("Hello world!")
interface Post {
    slug: string;
    title: string;
    date: string;
}

export function newest(posts: Post[]): Post | undefined {
    return posts.toSorted((a, b) => b.date.localeCompare(a.date)).at(0);
}