A block payload, fully typed and discriminated by t (mirror of
model::BlockKind's JSON). Narrow on kind.t to read the variant body in
kind.v — e.g. a paragraph exposes v.runs (each run carrying
style.bold/style.italic/style.size_pt/style.color), a heading its
v.level, a table its v.rows[].cells[] (with col_span/row_span), and a
list its v.ordered + v.items. This is what lets a thin editor render the
recognised structure (bold, headings, tables, lists) 1:1.
A block payload, fully typed and discriminated by
t(mirror ofmodel::BlockKind's JSON). Narrow onkind.tto read the variant body inkind.v— e.g. aparagraphexposesv.runs(eachruncarryingstyle.bold/style.italic/style.size_pt/style.color), aheadingitsv.level, atableitsv.rows[].cells[](withcol_span/row_span), and alistitsv.ordered+v.items. This is what lets a thin editor render the recognised structure (bold, headings, tables, lists) 1:1.