ChemPal Documentation - v1.6.0
    Preparing search index...

    Result of highlighting a query: markup plus how the query is interpreted.

    interface HighlightResult {
        html: string;
        state: HighlightState;
        message?: string;
    }
    Index

    Properties

    Properties

    html: string

    Token-wrapped, HTML-escaped markup of the raw query (round-trips to the input).

    Whether the query is plain, a valid advanced query, or an invalid one.

    message?: string

    Human-readable reason, present only when state is "error".