This is a lightweight MDX musing. Pages are generated as static HTML, with no client-side framework runtime by default.
Inline math works: .
Display math is rendered at build time with KaTeX:
Code highlighting is also performed at build time:
export function expectedValue(xs: number[]) {
return xs.reduce((sum, x) => sum + x, 0) / xs.length;
}