Skip to main content

Interface: DocumentFormatHint

Defined in: src/types/models/annotation.ts:62

Document format capabilities hint.

Remarks​

Indicates which targeting features are available for a given document format. Used by viewers to determine how to resolve selectors.

Properties​

format​

readonly format: DocumentFormat

Defined in: src/types/models/annotation.ts:64

Document format


hasCells​

readonly hasCells: boolean

Defined in: src/types/models/annotation.ts:70

Whether the format has cells (Jupyter notebooks)


hasLineNumbers​

readonly hasLineNumbers: boolean

Defined in: src/types/models/annotation.ts:72

Whether the format has line numbers (code, LaTeX)


hasPages​

readonly hasPages: boolean

Defined in: src/types/models/annotation.ts:66

Whether the format has discrete pages (PDF, EPUB)


hasSections​

readonly hasSections: boolean

Defined in: src/types/models/annotation.ts:68

Whether the format has semantic sections (HTML, Markdown, LaTeX)