Trevixal API
    Preparing search index...

    Interface EPUBExporterOptions

    What the book's pages carry of the editor's look, from the page the editor is on.

    interface EPUBExporterOptions {
        styles?: () => string;
        renderNode?(
            rendered: RenderedDocument,
        ): (node: EditorNode) => string | null;
    }
    Index
    styles?: () => string

    The editor's stylesheet, as collectDocumentCSS from @trevixal/ui reads it.

    • Markup for a node instead of its schema's, from what the editor drew: renderedNodeHTML from @trevixal/ui, for highlighted code and diagrams.

      Parameters

      Returns (node: EditorNode) => string | null