web: markdown headings carry ids, and the stylesheet revalidates !216

merged merged by cmc on 2026-09-04 02:42 UTC · krz/gitbay:markdown-anchors into main

Discussion

cmc

goldmark was built without auto heading ids, so a .md README or wiki page had no section links while org pages did, and GFM task-list boxes had no styling. The 62 KB stylesheet was served with no ETag or Cache-Control while fonts got a week.

Headings now carry ids (# Getting started → id="getting-started"), task boxes are sized to the prose, and the stylesheet carries a hash ETag with a day's lifetime and answers a matching If-None-Match with 304. TestMarkdownHeadingAnchors and TestStylesheetRevalidates.

Stacked on !215; no code dependency.

Closes #132

retargeted from diff-truncation to main: !215 merged

2026-09-04 02:16 UTC