Skip to main content

Crate pdf2md

Crate pdf2md 

Source
Expand description

PDF → Markdown extractor.

See crate-level extract / extract_with_config for the entry points.

Structs§

ExtractConfig
Caller-supplied knobs for crate::extract_with_config.
PdfDocument
The result of extracting a PDF document into markdown.
PdfFigure
A single extracted image asset.

Enums§

PdfError

Functions§

extract
Extract a PDF file into markdown + figures using the default config.
extract_with_config
Like extract, with a caller-supplied ExtractConfig.

Type Aliases§

ImageEmitter
Image emitter signature: fn(hash, alt) -> markdown_fragment.