Render an Analysis to markdown. PURE and fail-fast over any well-formed Analysis (including hand-built/spliced ones) — throws PdfToMdError/'ANALYSIS_INPUT' before any output on a malformed one.
OCR-origin output is byte-identical to extractOcr's own markdown. Text
output comes from the same captured blocks as extractText. Mixed output
always includes page markers because adjacent pages have different producers.
Render an Analysis to markdown. PURE and fail-fast over any well-formed Analysis (including hand-built/spliced ones) — throws
PdfToMdError/'ANALYSIS_INPUT'before any output on a malformed one. OCR-origin output is byte-identical to extractOcr's own markdown. Text output comes from the same captured blocks as extractText. Mixed output always includes page markers because adjacent pages have different producers.