Musings of a Lost Engineer
Jun 13, 2026

First Musing

A small example showing MDX, code, and server-rendered math.

This is a lightweight MDX musing. Pages are generated as static HTML, with no client-side framework runtime by default.

Inline math works: eiπ+1=0e^{i\pi} + 1 = 0.

Display math is rendered at build time with KaTeX:

arg maxxXf(x)\operatorname*{arg\,max}_{x \in X} f(x)

Code highlighting is also performed at build time:

export function expectedValue(xs: number[]) {
  return xs.reduce((sum, x) => sum + x, 0) / xs.length;
}