Convert documents to Markdown Run the anydoc CLI. It needs Node 20+ and no install: Rules: 1. Supported inputs: , , , , , , , , , , , , , , , , , , , , . 2. The format is detected from the file content. Pass only when detection cannot work: CSV from stdin, or a missing or wrong extension. 3. Exit codes: 0 success, 1 the document could not be converted, 2 usage error, 3 pages of a PDF need OCR. Failures print one line to stderr. The CLI never prompts. 4. For a large document, write to a file with and read the parts you need instead of streaming everything into context. 5. Scanned and image-onl…