Versions in this module Expand all Collapse all v1 v1.5.0 Oct 12, 2026 Changes in this version + var AllConvertibleExtensions = buildAllConvertibleExtensions() + var ExternalOnlyExtensions = map[string]bool + var HTMLExtensions = map[string]bool + var NativeExtensions = nativeExtensions() + func StripPageMarkers(markdown string) string + type PageReadResult struct + HasImage bool + Page int + Source string + type Result struct + Images []documentreader.ExtractedImage + Markdown string + PageCount int + PagedMarkdown string + Pages []PageReadResult + Source Source + func Convert(ctx context.Context, filePath string, ...) (Result, bool, error) + func ConvertBytes(ctx context.Context, data []byte, filename string, ...) (Result, bool, error) + func (r Result) TextForIndexing() string + type Source string + const SourceExternal + const SourceNative + const SourcePDFSmart