Member Junction
    Preparing search index...
    HighlightFunction: (code: string, lang: string) => string

    Signature for a syntax-highlight function injected into the engine. Receives the raw code and language id, returns highlighted markup (HTML string for the web path). The core never highlights on its own.

    Type Declaration

      • (code: string, lang: string): string
      • Parameters

        • code: string
        • lang: string

        Returns string