Expand description
Store-aware readers that synthesize inline content views from
per-block format_runs + block_images. The canonical entry
point is inline_segments_for_block, which returns the
Vec<InlineSegment> view used by export, fragments, cursor, and
tests.
Functions§
- get_
block_ images - Fetch the image anchors for a block.
- get_
format_ runs - Fetch the format runs for a block. Returns an empty Vec if the block has no runs (treated the same as a missing entry).
- inline_
segments_ for_ block - Synthesize the
Vec<InlineSegment>view for a block from its format_runs and block_images. Callers must pass the block’splain_text(which they already have in scope from a priorget_blockcall) — this avoids re-locking the blocks table.