- [`25d98df5`](https://github.com/quarto-dev/q2/commits/25d98df5): Plan 2B Phase 3 and 5.1: built-in registry of Pandoc-base leaves. q2-preview ships 14 Block components and 20 Inline components, replacing the empty Plan 2A registry. Image is a pure AssetManifestContext consumer (no VFS access in the iframe). Math is a near-verbatim port of Elliot Math leaf with two divergences: direct ESM `import katex` (window.katex is only set after LOAD_CUSTOM_COMPONENTS) and an explicit raw-LaTeX fallback on KaTeX error. Note is the JS-side number-with-tooltip-body fallback for `reference-location: block` and `section` (the default `document` configuration runs through FootnotesTransform upstream). New `q2-preview/utils.ts` ships `lookupAssetUrl`, `inlinesToPlainText`, `blocksToPlainText`. New stub `q2-preview/quartoClasses.ts` covers section, footnotes, and appendix constants. The framework dispatch table gains 5 new renderChildrenRegistry entries for Underline, Strikeout, Superscript, Subscript, SmallCaps. Plan 2A empty-registry tests are replaced by 21 new q2-preview integration tests (Pandoc base rendering, gap-fill components, Image edge cases, atomic CustomNode read-only, recursion-contract bypass, class-compatibility); q2-debug gains a parity test for the atomic gate. 688 unit + 112 integration tests pass.
0 commit comments