Site: render Docusaurus admonitions

closed
Max Rakhimov · 2026-09-28 · 8aba47f4df48 · edited · issue

:::note and its siblings render as short paragraphs. A proper admonition component needs the design rules applied: one class set and tokens rendered identically by the page layer and the app (design rule 2), a parity fixture, and the mdx fixture's goldens updated in the same commit.

edits
#commit:8aba47f4df48@gitmsg/pm
labels
kind/feature, area/site
Comments (1)

↩ Max Rakhimov · 2026-10-01

Fixed on main by #commit:54be7ca17716: both markdown grammars render ::: blocks (note, tip, info, warning, danger, caution, optional custom title) as one admonition component with a shared class set, parity-pinned on both halves, and the mdx shape goldens are recaptured. Review found three parser holes, all fixed on both sides: a quadratic closer scan on degraded openers is now linear through one lazily built index, a literal ::: inside a fenced body no longer closes the block early, and an opener glued to a paragraph starts its own block.