• Default language detection suitable for the default CKEditor 5 Code Block configuration, using class tokens prefixed with language-.

    Parameters

    • classListEntry: string

      a single entry in the class list to match.

    Returns undefined | string