PrismJS v1.14.0 Release Notes

Release Date: 2018-04-11 // about 6 years ago
  • ๐Ÿ†• New components

    โšก๏ธ Updated components

    • Bash:
      • Add curl to the list of common functions. Close #1160 [1bfc084]
    • C-like:
      • Make single-line comments greedy. Fix #1337. Make sure #1340 stays fixed. [571f2c5]
    • C#:
    • Eiffel:
    • Elixir
      • Make regexps greedy, remove comment hacks. Update known failures and tests. [e93d61f]
    • ERB:
      • Make highlighting work properly in NodeJS (#1367) [5f9c078]
    • Fortran:
      • Make single-line comments greedy. Update known failures and tests. [c083b78]
    • ๐Ÿ– Handlebars:
      • Make highlighting work properly in NodeJS (#1367) [5f9c078]
    • Java:
    • JavaScript:
    • JSX:
    • Monkey:
      • Make comments greedy. Update known failures and tests. [d7b2b43]
    • PHP:
      • Make highlighting work properly in NodeJS (#1367) [5f9c078]
    • Puppet:
      • Make heredoc, comments, regexps and strings greedy. Update known failures and tests. [0c139d1]
    • Q:
      • Make comments greedy. Update known failures and tests. [a0f5081]
    • ๐Ÿ’Ž Ruby:
      • Make multi-line comments greedy, remove single-line comment hack. Update known failures and tests. [b0e34fb]
    • SQL:

    โšก๏ธ Updated plugins

    • ๐Ÿ’ป Command Line:
      • Command Line: Allow specifying output prefix using data-filter-output attribute. (#856) [094d546]
    • File Highlight:
      • Add option to provide a download button, when used with the Toolbar plugin. Fix #1030 [9f22952]

    โšก๏ธ Updated themes

    • 0๏ธโƒฃ Default:

    Other changes

    • ๐Ÿšš Website: Remove broken third-party tutorials from homepage [0efd6e1]
    • ๐Ÿ“„ Docs: Mention loadLanguages() function on homepage in the nodeJS section. Close #972, close #593 [4a14d20]
    • Core: Greedy patterns should always be matched against the full string. Fix #1355 [294efaa]
    • โšก๏ธ Crystal: Update known failures. [e1d2d42]
    • โšก๏ธ D: Update known failures and tests. [13d9991]
    • โšก๏ธ Markdown: Update known failures. [5b6c76d]
    • โšก๏ธ Matlab: Update known failures. [259b6fc]
    • ๐Ÿšš Website: Remove non-existent anchor to failures. Reword on homepage to make is less misleading. [8c0911a]
    • ๐Ÿ™‹ Website: Add link to Keep Markup plugin in FAQ [e8cb6d4]
    • ๐Ÿ‘€ Test suite: Memory leak in vm.runInNewContext() seems fixed. Revert [9a4b6fa] to drastically improve tests execution time. [9bceece, 7c7602b]
    • Gulp: Don't minify components/index.js [689227b]
    • Website: Fix theme selection on Download page, when theme is in query string or hash. [b4d3063]
    • โšก๏ธ Update JSPM config to also include unminified components. Close #995 [218f160]
    • ๐Ÿ‘ Core: Fix support for language alias containing dash - [659ea31]