New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hexo-renderer-markdown-it

Package Overview
Dependencies
Maintainers
10
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-renderer-markdown-it - npm Package Compare versions

Comparing version

to
6.1.0

6

lib/anchors.js

@@ -25,3 +25,3 @@ 'use strict';

const titleStore = {};
let titleStore = {};
const originalHeadingOpen = md.renderer.rules.heading_open;

@@ -62,4 +62,8 @@ const slugOpts = { transform: opts.case, ...opts };

};
md.core.ruler.push('clear_anchor_title_store', () => {
titleStore = {};
});
};
module.exports = anchor;

5

package.json
{
"name": "hexo-renderer-markdown-it",
"version": "6.0.1",
"version": "6.1.0",
"description": "Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.",

@@ -37,2 +37,3 @@ "main": "index.js",

"markdown-it-abbr": "^1.0.4",
"markdown-it-attrs": "^4.1.3",
"markdown-it-cjk-breaks": "^1.1.2",

@@ -53,3 +54,3 @@ "markdown-it-container": "^3.0.0",

"hexo": "^6.0.0",
"mocha": "^9.1.3",
"mocha": "^10.0.0",
"nyc": "^15.0.0"

@@ -56,0 +57,0 @@ },

@@ -251,5 +251,5 @@ # hexo-renderer-markdown-it

# A suffix that is prepended to the number given if the ID is repeated.
collisionSuffix: ''
collisionSuffix: ''
# If `true`, creates an anchor tag with a permalink besides the heading.
permalink: false
permalink: false
# Class used for the permalink anchor tag.

@@ -271,2 +271,3 @@ permalinkClass: header-anchor

- markdown-it-abbr
- markdown-it-attrs
- markdown-it-cjk-breaks

@@ -273,0 +274,0 @@ - markdown-it-container