Skip to content

Hello, world

Starting a blog, and how this one works

· 1 min · meta

This is the first post on this site. It also documents how the blog is wired, so you can delete it once you have real posts.

Why a blog#

Research notes that do not fit into a paper — failed experiments, engineering tricks, reading notes — tend to disappear. A blog is a cheap place to put them, and writing forces clarity.

Writing a post#

Every post is a Markdown or MDX file under src/content/blog/. The filename becomes the URL:

src/content/blog/hello-world.md -> /blog/hello-world/

Frontmatter supports:

FieldRequiredWhat it does
titleyesPost title (max 60 characters)
pubDateyesPublication date
descriptionnoShown in the list and in meta tags
tagsnoDisplayed under the title
covernoCover image: local path or remote URL
draftnotrue hides the post in production
tocnofalse disables the table of contents

What the theme gives you#

Posts get a table of contents on the right, reading time, code highlighting, math, callouts and image zoom out of the box:

const trick: () => string = () => 'semi-supervised learning, but make it safe'

Inline math works too: p(y∣x)p(y \mid x) is what semi-supervised learning cares about.

NOTE

Callouts like this one come from blockquotes.


Delete this post (src/content/blog/hello-world.md) or replace it with your own first entry.