markdown-it-cross-ref
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -1,5 +0,5 @@ | ||
import MarkdownIt from 'markdown-it'; | ||
import { PluginSimple } from 'markdown-it'; | ||
declare const MarkdownItCrossRef: (md: MarkdownIt) => void; | ||
declare const MarkdownItCrossRef: PluginSimple; | ||
export { MarkdownItCrossRef, MarkdownItCrossRef as default }; |
@@ -155,4 +155,3 @@ "use strict"; | ||
var crossrefCore = (state) => { | ||
var _a; | ||
const list = (_a = state.env.crossrefs) == null ? void 0 : _a.list; | ||
const list = state.env.crossrefs?.list; | ||
for (let i = 0; i < state.tokens.length; i++) { | ||
@@ -159,0 +158,0 @@ if (state.tokens[i].type === "crossref_reference_open") { |
{ | ||
"name": "markdown-it-cross-ref", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "MarkdownIt plugin for cross-reference.", | ||
@@ -10,9 +10,9 @@ "keywords": [ | ||
], | ||
"homepage": "https://github.com/Renovamen/oh-cv/tree/main/packages/markdown-it-cross-ref", | ||
"homepage": "https://github.com/Renovamen/oh-my-cv/tree/main/packages/markdown-it-cross-ref", | ||
"bugs": { | ||
"url": "https://github.com/Renovamen/oh-cv" | ||
"url": "https://github.com/Renovamen/oh-my-cv" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Renovamen/oh-cv.git", | ||
"url": "git+https://github.com/Renovamen/oh-my-cv.git", | ||
"directory": "packages/markdown-it-cross-ref" | ||
@@ -26,2 +26,3 @@ }, | ||
"exports": { | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.js", | ||
@@ -34,3 +35,3 @@ "import": "./dist/index.mjs" | ||
"devDependencies": { | ||
"@types/markdown-it": "^12.2.3", | ||
"@types/markdown-it": "^13.0.1", | ||
"markdown-it": "^13.0.1" | ||
@@ -37,0 +38,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
20839
7
525