highlight.js v10.2.0 Release Notes

Release Date: 2020-09-07 // over 3 years ago
  • ๐Ÿ”– Version 10.2.0

    ๐Ÿ“œ Parser Engine:

    • (fix) When ignoring a potential match highlighting can terminate early (#2649) Josh Goebel

    ๐Ÿ†• New themes:

    ๐Ÿ—„ Deprecations:

    • ๐Ÿšš fixMarkup is now deprecated and will be removed in v11.0. (#2534) Josh Goebel

    Big picture:

    Language Improvements:

    • ๐Ÿ›  fix(bash) Fewer false positives for keywords in arguments (#2669) sirosen
    • ๐Ÿ›  fix(js) Prevent long series of /////// from causing freezes (#2656) Josh Goebel
    • enh(csharp) Add init and record keywords for C# 9.0 (#2660) Youssef Victor
    • enh(matlab) Add new R2019b arguments keyword and fix enumeration keyword (#2619) Andrew Janke
    • ๐Ÿ›  fix(kotlin) Remove very old keywords and update example code (#2623) kageru
    • ๐Ÿ›  fix(night) Prevent object prototypes method values from being returned in getLanguage (#2636) night
    • ๐Ÿ‘ enh(java) Add support for enum, which will identify as a class now (#2643) ezksd
    • ๐Ÿ‘ enh(nsis) Add support for NSIS 3.06 commands (#2653) idleberg
    • enh(php) detect newer more flexible HEREdoc syntax (#2658) eytienne