My Journey Building a PDF to Markdown Converter from Scratch with AI: Pitfalls, Optimizations, and Full Practice
Background: I wanted to parse PDF documents into Markdown format for my RAG (Retrieval-Augmented Generation) system. However, many RAG tools fail to recognize headers and footers, causing them to mix into the middle of documents, which severely degrades quality. Docling…

