Trevixal API
    Preparing search index...
    interface CreateHighlighterOptions {
        autoDetect?: boolean;
        fallback?: string;
        languages?: readonly LanguageDefinition[];
    }
    Index
    autoDetect?: boolean

    Guess the language of a block that names none, from its content. Off by default: guessing changes what the reader sees without being asked, and a wrong guess paints the block with the wrong grammar.

    fallback still wins. An explicit default is a decision, detection is an inference.

    fallback?: string

    Used when a code block names no language.

    languages?: readonly LanguageDefinition[]

    Extra or overriding definitions, matched before the bundled ones.