Function highlightFileSync

  • 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.

    Synchronous highlightFile

    Parameters

    Returns string

Generated using TypeDoc