Trevixal API
    Preparing search index...

    A document as an EPUB 3 book: a chapter for each level-one heading (the whole document one chapter when it has none), a table of contents from the headings, and the pictures it holds as data packed in beside them. The container is the same stored ZIP the Word writer makes, with the mimetype first, as EPUB asks.

    interface EPUBOptions {
        author?: string;
        identifier?: string;
        language?: string;
        modified?: Date;
        renderNode?: (node: EditorNode) => string | null;
        styles?: string;
        theme?: HTMLDocumentTheme;
        title?: string;
    }
    Index
    author?: string
    identifier?: string

    A fixed identifier and date, for output that does not change from run to run.

    language?: string

    A BCP 47 language tag; English by default.

    modified?: Date
    renderNode?: (node: EditorNode) => string | null

    Markup for a node instead of its schema's: the editor's highlighted code, a diagram's picture.

    styles?: string

    The editor's own stylesheet, which the book's pages carry so a chapter reads as the editor shows it: a callout tinted, a task struck through. Without it, a plain book style.

    theme?: HTMLDocumentTheme

    The palette the editor rendered in.

    title?: string