Skip to content

Releases: jGleitz/markdown-it-prism

v2.0.5

02 Mar 15:58

Choose a tag to compare

2.0.5 (2020-03-02)

Bug Fixes

  • node >=10.0.0 is supported (1a442a0)

v2.0.4

18 Feb 18:34
884ae23

Choose a tag to compare

2.0.4 (2020-02-18)

Bug Fixes

  • deps: update dependency prismjs to v1.19.0 (c7bdba9)

Resolve Languages with Dependencies Correctly

29 May 07:03

Choose a tag to compare

Fixed

  • Languages that have dependencies are now resolved correctly (#22, thanks to @Jlice and @RunDevelopment!)
  • Test cases have been adapted to new output of markdown-it prism Java

Fix Export Regression

09 Dec 14:49
f3d32b5

Choose a tag to compare

Fixed

  • Regression that exported the module’s main function only under the default key, not also as default export (#17)

Fallback Language Options; Drop Node.JS 4

02 Dec 13:19
05d928a

Choose a tag to compare

Deprecated

  • Deprecate Node.JS 4 and require Node.JS >= 6

Added

  • Note about adding a stylesheet to the HTML in README
  • Options defaultLanguage, defaultLanguageForUnknown and defaultLanguageForUnspecified to specify fallback prism languages

Fixed

  • Update all packages and eliminate dependency versions with known security issues
  • Improve the project setup
  • Improve the documentation in code

Upgrade Dependencies

17 Mar 14:22

Choose a tag to compare

v1.1.2

v1.1.2

Remove bad \n\t

22 May 07:38

Choose a tag to compare

Bug fix: a \n\t before the code was affecting the HTML output

class names

20 May 22:17

Choose a tag to compare

  • Add the language-* class also to the <pre> tag (not only to <code>).
  • Add the class language-x if x is the defined language, even if x cannot be highlighted with Prism.

Fixed bad export

19 Oct 15:16

Choose a tag to compare

The plugin was not exported correctly.

Initial Release

16 Oct 21:42

Choose a tag to compare

First version