Trilium Frontend API
    Preparing search index...

    Interface RawHighlight

    A formatted run of text, as the highlights sidebar consumes it. Every producer — the text editor, read-only HTML, the Markdown preview — reduces its own representation to this.

    interface RawHighlight {
        attrs: {
            background: string;
            bold: boolean;
            color: string;
            italic: boolean;
            underline: boolean;
        };
        id: string;
        text: string;
    }
    Index
    attrs: {
        background: string;
        bold: boolean;
        color: string;
        italic: boolean;
        underline: boolean;
    }
    id: string
    text: string

    Inline HTML of the run, so nested content (e.g. maths) survives into the list.