Socket
Socket
Sign inDemoInstall

markdown-it-highlightjs

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-it-highlightjs - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

2

index.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc