Trevixal API
    Preparing search index...

    Interface ExportContext

    interface ExportContext {
        rendered?: RenderedDocument;
        schema: Schema;
        theme?: ThemeSnapshot;
        title: string;
    }
    Index
    rendered?: RenderedDocument

    What the editor drew that the document does not hold, highlighted code and rendered diagrams. Filled in by exportDocument the same way.

    schema: Schema

    The palette the editor is rendering in, for the formats that carry colour. exportDocument fills it in from the live editor; it is absent when a document is serialized outside a browser.

    title: string

    Document title, for formats that carry one (also the suggested file name).