Aman Desai
← Writing

Hello, world


title: "Hello, world" date: "2026-04-29" description: "A test post that exercises the typesetting — code, math, callouts, and links."

This is the first post on the new site. I'm keeping it short and using it to make sure the typesetting actually works the way I want it to.

Code blocks

Here's a small bit of Python to confirm syntax highlighting is loading:

def softmax(x: list[float]) -> list[float]:
    m = max(x)
    e = [pow(2.71828, xi - m) for xi in x]
    z = sum(e)
    return [ei / z for ei in e]

And a one-liner with inline formatting to check that inline code reads cleanly inside a sentence.

Math

Inline math: the softmax output for input xix_i is

σ(x)i=exij=1Kexj.\sigma(x)_i = \frac{e^{x_i}}{\sum_{j=1}^{K} e^{x_j}}.

Block math should sit comfortably inside the prose width, with the same line height as the surrounding text.

Callouts

What this post is for

If you're reading this, the MDX pipeline is working. I'll replace it with something real soon — probably a project deep-dive or paper read-through — once the rest of the site has settled.