Field manual: how entries are typeset here
A working reference for every element an entry can use, from headings and code to math, tables, notes, and figures.
This entry is the reference sheet for the site. It shows every element a post can use, so I can check the styling in one place and copy the syntax when I write. Whenever the design changes, this is the page I look at first.
Text
Body copy is set in Jost at 18 px with a measure of about 66 characters; headings use Big Shoulders. Bold is for the one phrase a skimmer should catch, italic is for titles and terms, and inline code covers file names like astro.config.mjs. Links look like this one to the Astro docs. Keyboard shortcuts use Shift + /. Footnotes collect at the bottom.1
Make it work, make it right, make it fast. The order matters more than the speed.
Lists
Unordered lists use small red squares:
- Release notes go out with every major and minor version.
- Hotfixes skip the train but still need a ticket.
- Nested items step in one level.
- Anything without an owner does not ship.
Ordered lists count with leading zeros in red, which keeps short sequences aligned:
- Cut the release branch.
- Freeze scope and run regression.
- Ship, then write down what surprised you.
Notes
Code
Code blocks get a header with the language and a copy button. Highlighting follows the site theme.
// src/scripts/wipe-timing.ts
export const FULL = { close: 260, hold: 90, open: 340 };
export const QUICK = { close: 200, hold: 20, open: 280 }; import torch.nn.functional as F
def dpo_loss(policy_logratios, reference_logratios, beta=0.1):
"""Each argument is log p(chosen | x) - log p(rejected | x) for one model."""
return -F.logsigmoid(beta * (policy_logratios - reference_logratios)).mean() pnpm install
pnpm dev Math
Inline math sits in the line: direct preference optimization keeps the policy close to a reference policy , and sets how close. Display math gets its own block and scrolls sideways on narrow screens:
Tables
Tables use tabular figures so numbers line up. This one lists the page transition you saw on the way in.
| Phase | Section change | Within a section | Motion |
|---|---|---|---|
| In | 260 ms | 200 ms | The red band accelerates across the page |
| Hold | 90 ms | 20 ms | The band names the destination |
| Out | 340 ms | 280 ms | Fast exit to the right, long settle |
Figures
Figures carry a numbered caption. Charts are drawn from real data; this one reads the same constants as the transition code.
Disclosure
Why does the red band wait for the next page?
The band covers the page while the next one downloads, so the wait is hidden behind motion. If the page arrives early, the band still holds for a beat so the destination can be read; if it arrives late, the band simply stays until it is ready.
That is the full kit. If a future entry needs something new, it gets added here first.
Footnotes
-
The site does not bind any shortcuts yet. This one is only here to show the style. ↩