prismjs-terminal
    Preparing search index...

    Function highlightFile

    • Read the filename provided, and highlight its code. If a language is not provided in the opts, it will attempt to infer from the filename.

      Parameters

      Returns Promise<string>