Commit 75ef6db
committed
Merge feature/table-rendering-parity: bd-hir7j
Bring q2 render+preview table output to byte-for-byte parity with
Quarto 1 on the daily-log fixture. 8 sub-tasks merged in:
Render path:
bd-fyb4z (D1) list-table defaults header-rows=1
bd-2c8rg (D2) transform adds caption-top + table classes
bd-hixmy (D3) HTML writer suppresses empty <colgroup>
bd-12fpz (D4/5) HTML writer emits header/odd/even row classes
bd-mtzry (D6) template appends quarto-light to body class
Preview path (React mirrors of the above):
bd-elgxx (D4/5 react) Table.tsx emits row classes
bd-tkamn (D6 react) PreviewDocument.tsx appends quarto-light
No-op verifications:
bd-dy97y (D7) Bootstrap CSS was already shipped by
CompileThemeCssStage; the gap was 100% markup.
bd-g18wu (D8) q2-preview SPA bundle already includes Bootstrap
rules; same conclusion.
Visual verification 2026-05-20: q2 render, q2 preview, and Quarto 1
produce byte-identical computed styles on ~/Desktop/daily-log/2026/05/20/tables.qmd
(width 799px, padding 8.5px, font-weight 700, caption-side top,
body class fullcontent quarto-light).
Parent epic bd-hir7j closed.
Plan: claude-notes/plans/2026-05-20-table-default-rendering-parity.md21 files changed
Lines changed: 1097 additions & 89 deletions
File tree
- .beads
- claude-notes/plans
- crates
- pampa
- snapshots/native
- src
- pandoc/treesitter_utils
- writers
- tests
- quarto-core
- src
- transforms
- tests
- fixtures/phase5-single-doc-baseline
- snapshots
- ts-packages/preview-renderer/src/q2-preview
- blocks
Large diffs are not rendered by default.
Lines changed: 52 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
289 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
290 | 291 | | |
291 | | - | |
292 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
293 | 297 | | |
294 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
295 | 308 | | |
296 | 309 | | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
301 | 330 | | |
302 | 331 | | |
303 | | - | |
304 | | - | |
305 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
306 | 346 | | |
307 | 347 | | |
308 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
308 | 312 | | |
309 | 313 | | |
310 | 314 | | |
311 | 315 | | |
312 | 316 | | |
313 | | - | |
| 317 | + | |
314 | 318 | | |
315 | 319 | | |
316 | 320 | | |
| |||
0 commit comments