Project

Hello world

· maintained

First blog post to test some features of the blog in production.

  • Astro 7 site with KaTeX
  • Tailwind CSS4 via Vite pluging
  • Custom Astro layouts with #9090e9 accent

Markdown headers

Smaller headers

Inline math works: x∈Rnx \in \R^{n}, E[X]\E[X], KL⁡(p∥q)\kl(p\|q), ∥Ax∥2\norm{Ax}_2. Display math can be numbered and linked from prose:

μ^=arg min⁡μ12n∑i=1n∥xi−μ∥2.(1)\hat\mu = \argmin_{\mu} \frac{1}{2n}\sum_{i=1}^n \norm{x_i - \mu}^2. \tag{1}

(1) is the sample mean. A two-line update still gets one number if it lives in a single $$ block:

s←∑i=1nxiμ^←n−1s.(2)\begin{aligned} s &\leftarrow \sum_{i=1}^n x_i \\ \hat\mu &\leftarrow n^{-1} s. \end{aligned} \tag{2}

Inline code looks like node --test. Fenced blocks get syntax highlighting:

import {parseArgs} from 'node:util';

const {values} = parseArgs({
	options: {
		limit: {type: 'string', default: '10'},
	},
});

console.log(`limit=${values.limit}`);
rg -n "TODO" src

Italic works, bold works, code works, a link back to projects works.