Components
Everything on this site, installable
The site is built from these, so what you install is what you are looking at. Every preview below is the real component running, not a picture of one.
Add the registry once
export CTA_REGISTRY=https://adamjurek.com/r/registry.jsonSpacer
Page structure
No dependencies
Vertical space on the scale, optionally with a rule and a label. For Markdown, where there is no markup to hang a margin on.
Preview: A labelled rule holding a gap open
Frontmatter
Parsing
No dependencies
A small frontmatter reader for `key: value` and inline lists. Not YAML, deliberately.
Preview: No UI - it reads the metadata block off a file
Markdown View
Rendering
@tanstack/markdown
Renders Markdown with callouts, CSS-only tabs, custom blocks and highlighted code.
Preview: Markdown with callouts, tabs and highlighted code
Doc Aside
Navigation
@tanstack/markdown
An on-page table of contents: a sticky rail on desktop, a collapsed row on mobile. Collapse is CSS, not state.
Preview: A contents list tracking the heading you are under