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 (shared core); text-origin is NOT byte-identical to extractText's (see AnalysisPage.words, src/types.ts).
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 (shared core); text-origin is NOT byte-identical to extractText's (seeAnalysisPage.words,src/types.ts).