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
readonlyformat:DocumentFormat
Defined in: src/types/models/annotation.ts:64
Document format
hasCells
readonlyhasCells:boolean
Defined in: src/types/models/annotation.ts:70
Whether the format has cells (Jupyter notebooks)
hasLineNumbers
readonlyhasLineNumbers:boolean
Defined in: src/types/models/annotation.ts:72
Whether the format has line numbers (code, LaTeX)
hasPages
readonlyhasPages:boolean
Defined in: src/types/models/annotation.ts:66
Whether the format has discrete pages (PDF, EPUB)
hasSections
readonlyhasSections:boolean
Defined in: src/types/models/annotation.ts:68
Whether the format has semantic sections (HTML, Markdown, LaTeX)