markmap-lib 0.17.3-beta.4 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.iife.js +3 -2
- package/dist/browser/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.no-plugins.js +1 -1
- package/dist/index.no-plugins.mjs +1 -1
- package/package.json +5 -5
|
@@ -14058,7 +14058,7 @@
|
|
|
14058
14058
|
}
|
|
14059
14059
|
function getCurrentHeading(level) {
|
|
14060
14060
|
let heading2;
|
|
14061
|
-
while ((heading2 = headingStack.
|
|
14061
|
+
while ((heading2 = headingStack[headingStack.length - 1]) && heading2.level >= level) {
|
|
14062
14062
|
headingStack.pop();
|
|
14063
14063
|
}
|
|
14064
14064
|
return heading2 || rootNode;
|
|
@@ -14145,6 +14145,7 @@
|
|
|
14145
14145
|
};
|
|
14146
14146
|
if (htmlNode.data) {
|
|
14147
14147
|
node.payload = {
|
|
14148
|
+
tag: htmlNode.tag,
|
|
14148
14149
|
...htmlNode.data
|
|
14149
14150
|
};
|
|
14150
14151
|
}
|
|
@@ -26066,7 +26067,7 @@ ${end2.comment}` : end2.comment;
|
|
|
26066
26067
|
}
|
|
26067
26068
|
}
|
|
26068
26069
|
const transformerVersions = {
|
|
26069
|
-
"markmap-lib": "0.
|
|
26070
|
+
"markmap-lib": "0.18.0"
|
|
26070
26071
|
};
|
|
26071
26072
|
exports.Transformer = Transformer;
|
|
26072
26073
|
exports.builtInPlugins = builtInPlugins;
|
package/dist/browser/index.mjs
CHANGED
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/dist/index.no-plugins.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markmap-lib",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"description": "Visualize your Markdown as mindmaps with Markmap",
|
|
5
5
|
"author": "Gerald <gera2ld@live.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@highlightjs/cdn-assets": "^11.8.0",
|
|
62
62
|
"@types/katex": "^0.16.7",
|
|
63
63
|
"@types/markdown-it": "^14.0.0",
|
|
64
|
-
"markmap-common": "0.
|
|
64
|
+
"markmap-common": "0.18.0",
|
|
65
65
|
"webfontloader": "^1.6.28"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"markdown-it-mark": "^4.0.0",
|
|
75
75
|
"markdown-it-sub": "^2.0.0",
|
|
76
76
|
"markdown-it-sup": "^2.0.0",
|
|
77
|
-
"markmap-html-parser": "0.
|
|
78
|
-
"markmap-view": "0.
|
|
77
|
+
"markmap-html-parser": "0.18.0",
|
|
78
|
+
"markmap-view": "0.18.0",
|
|
79
79
|
"prismjs": "^1.29.0",
|
|
80
80
|
"yaml": "^2.5.1"
|
|
81
81
|
},
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"^(.*\\.svg)\\?raw$": "$1"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "652d042cdd980487e5de70c8e1405ecf0721fa9c"
|
|
100
100
|
}
|