markdown-it-highlightjs
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -52,3 +52,3 @@ const hljs = require('highlight.js') | ||
const highlighted = options.highlight(code.content, lang) | ||
const cls = lang ? ` class="language-${lang}"` : '' | ||
const cls = lang ? ` class="${options.langPrefix}${lang}"` : '' | ||
@@ -55,0 +55,0 @@ return `<code${cls}>${highlighted}</code>` |
{ | ||
"name": "markdown-it-highlightjs", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "Preset to use highlight.js with markdown-it.", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
"dependencies": { | ||
"highlight.js": "^9.18.1", | ||
"highlight.js": "^10.2.0", | ||
"lodash.flow": "^3.5.0" | ||
@@ -32,0 +32,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8302
+ Addedhighlight.js@10.7.3(transitive)
- Removedhighlight.js@9.18.5(transitive)
Updatedhighlight.js@^10.2.0