Book to Markdown Converter
Converts PDF and EPUB books into lossless, paginated Markdown optimized for AI agents and RAG pipelines.
This skill automates the first phase of a professional book processing pipeline, transforming raw PDF or EPUB files into high-fidelity Markdown. It intelligently routes files to the most effective conversion engine—utilizing Marker for native PDFs, MinerU or Mistral OCR for scans, and Pandoc for EPUBs—to ensure that headings, footnotes, page markers, and images are perfectly preserved. Designed for researchers and developers building domain-specific knowledge bases, it maintains a canonical structure with per-chapter files, standardized metadata, and specialized handling for complex book hierarchies.
Key Features
01Intelligent multi-engine routing based on file type and GPU availability
02Advanced chapter splitting with hierarchical Part/Chapter detection
03Standardized output formatting for easy RAG ingestion and corpus management
04Lossless preservation of footnotes, page numbers, and images
05Automatic OCR fallback for scanned PDFs using MinerU or Mistral OCR
061 GitHub stars
Use Cases
01Ingesting physical book scans into a searchable, agent-ready vector database
02Converting scholarly EPUB libraries into clean, structured Markdown archives
03Processing complex technical books while preserving tables, equations, and footnotes