doc2mark

Getting started

  • Installation
  • Quickstart
  • A minimal RAG pipeline

User guide

  • Loading documents
  • Supported formats
  • The result: ProcessedDocument
  • PDF text structure
  • Tables
  • Images
  • OCR
  • When pages and pictures are OCR’d
  • Contextual OCR strategy
  • Caching
  • Chunking and token usage
  • Optional judge (TypeSafe / Jev)
  • Command line
  • Troubleshooting

Reference

  • API reference
  • Development
doc2mark
  • Search


© Copyright 2026, Hao Liang Wen.

Built with Sphinx using a theme provided by Read the Docs.