Trilium Frontend API
    Preparing search index...

    Interface HighlightedTokenInfo

    A single token to highlight in search results, tagged with how it should be matched. plain tokens are matched literally (case-insensitively); regex tokens (produced by the %= operator) are compiled to a regular expression.

    interface HighlightedTokenInfo {
        token: string;
        type: "plain" | "regex";
    }
    Index
    token: string
    type: "plain" | "regex"