Releases: jGleitz/markdown-it-prism
Releases · jGleitz/markdown-it-prism
Fix Export Regression
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
Deprecated
- Deprecate Node.JS 4 and require Node.JS >= 6
Added
- Note about adding a stylesheet to the HTML in README
- Options
defaultLanguage
,defaultLanguageForUnknown
anddefaultLanguageForUnspecified
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
v1.1.2 v1.1.2
Remove bad \n\t
Bug fix: a \n\t
before the code was affecting the HTML output
class names
- Add the
language-*
class also to the<pre>
tag (not only to<code>
). - Add the class
language-x
ifx
is the defined language, even ifx
cannot be highlighted with Prism.
Fixed bad export
The plugin was not exported correctly.
Initial Release
First version