Improve margin note CSS and add @figure V3 with rich captions
Three things bundled:
1. Margin note (`{&margin ...}`) now floats to the right of the
paragraph as a proper sidenote, with a responsive fallback that
collapses to a block on narrow screens. The inline-chip look is
gone.
2. Two new inline extensions:
- `{&image SRC "alt"}` → `<img src="SRC" alt="alt">`
- `{&linked-image URL SRC "alt"}` → `<a href="URL"><img ...></a>`
Both parse a whitespace-separated payload with quoted values.
3. `@figure` V3 form: if the body paragraph starts with a
`{&linked-image ...}` or `{&image ...}` inline, that inline
supplies the image and the remaining paragraph inlines become the
`<figcaption>` content — so bold, italic, links and references in
captions now render. V1 (attribute-only, plain-text caption) still
works as a fallback when no image inline is present.
Plus five placeholder tag pages under site/tags/ so the `@page-tags`
chips in the demo page actually link somewhere that exists, and an
updated demo page showing all three features side-by-side.
The link-phase validation for @page-tags (fail-build-if-tag-page-
missing) isn't in this commit — Env.lookup_page_by_path / by_name did
not reliably find pages under the site package. Needs more research
into how the monorepo's site package exposes pages to the Env at
link phase.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>