pub fn chunk(doc: &Document) -> Vec<Chunk>
Split doc into chunks (one per non-empty block), tracking heading context.
doc