Introduction
This article tests every component in the Distill-inspired article system. The text column should be roughly 700px wide on large screens, with a gutter for sidenotes to the right and a kicker margin to the left.
The transformer architecture [?] revolutionized natural language processing. Subsequent work on pre-training [?] and scaling [?] further demonstrated the power of attention mechanisms.
Here is a footnote1 demonstrating the hover popup system, and here is another2 .
2Mathematics
Inline math works naturally: the quadratic formula is .
Display math is left-aligned, following the Distill convention:
The softmax function applied to attention scores:
Dynamic Math
The slider below controls a value that is rendered dynamically using the <Math> component:
Current value: 50. The expression is computed dynamically.
3Figures
As shown in fig-body, figures can occupy the standard text column width.
Code
Code blocks with syntax highlighting:
def attention(query, key, value):
"""Scaled dot-product attention."""
d_k = query.shape[-1]
scores = torch.matmul(query, key.transpose(-2, -1)) / math.sqrt(d_k)
weights = F.softmax(scores, dim=-1)
return torch.matmul(weights, value)function softmax(logits) {
const maxLogit = Math.max(...logits);
const scores = logits.map(l => Math.exp(l - maxLogit));
const denom = scores.reduce((a, b) => a + b, 0);
return scores.map(s => s / denom);
}Typography
Edward Tufte’s principles of data visualization [?] emphasize the importance of clear, honest representation of data. This paragraph tests the typographic rhythm at various viewport widths.
Third-Level Heading
Subheadings are 18px on mobile, 20px on desktop, with weight 700.
Fourth-Level Heading
These are uppercase, 14px, weight 600 — used sparingly for categorical labels.
6Lists
Unordered:
- First item with enough text to wrap to a second line if the viewport is narrow enough
- Second item
- Third item
Ordered:
- Step one
- Step two
- Step three
Blockquote
The purpose of visualization is insight, not pictures. — Ben Shneiderman
Table
| Model | Parameters | Year |
|---|---|---|
| GPT-2 | 1.5B | 2019 |
| GPT-3 | 175B | 2020 |
| GPT-4 | ~1.7T | 2023 |
Horizontal Rule
The horizontal rule above should span the full screen width (edge to edge), using grid-column: screen.
Citation
For attribution in academic contexts, please cite this work as
Arnav Wadehra, "Hello Distill", 2026.
BibTeX citation
@article{wadehra2026,
author = {Arnav Wadehra},
title = {Hello Distill},
year = {2026},
url = {http://sveltekit-prerender/posts/hello-distill}
}