Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zhennann/markdown-it-block

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zhennann/markdown-it-block - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

index.js

@@ -18,3 +18,3 @@ // Process block-level custom containers

try {
content = token.content ? JSON.parse(token.content) : {};
content = token.content ? JSON5.parse(token.content) : {};
} catch (err) {

@@ -35,3 +35,3 @@ errorMessage = err.message;

// placeholder
var res = JSON.stringify(content, null, 2);
var res = JSON5.stringify(content, null, 2);
return `<div class="alert-info">

@@ -38,0 +38,0 @@ <p><strong>${blockTitle}: ${md.utils.escapeHtml(blockName)}</strong></p>

{
"name": "@zhennann/markdown-it-block",
"version": "2.0.0",
"version": "2.0.1",
"description": "Plugin to create block-level custom tags for markdown-it markdown parser on Cabloy-CMS",

@@ -5,0 +5,0 @@ "main": "index.js",

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