markmap-lib 0.17.3-alpha.1 → 0.17.3-alpha.2
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 +12 -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 +4 -4
|
@@ -14090,6 +14090,16 @@
|
|
|
14090
14090
|
skippingHeading = 0;
|
|
14091
14091
|
const isHeading = level <= 6;
|
|
14092
14092
|
let data2 = $child.data();
|
|
14093
|
+
let html22 = result.html || "";
|
|
14094
|
+
if ($child.is("ol>li") && (node == null ? void 0 : node.children)) {
|
|
14095
|
+
const start = +($child.parent().attr("start") || 1);
|
|
14096
|
+
const listIndex = start + node.children.length;
|
|
14097
|
+
html22 = `${listIndex}. ${html22}`;
|
|
14098
|
+
data2 = {
|
|
14099
|
+
...data2,
|
|
14100
|
+
listIndex
|
|
14101
|
+
};
|
|
14102
|
+
}
|
|
14093
14103
|
if ($child.children("code:only-child").length) {
|
|
14094
14104
|
data2 = {
|
|
14095
14105
|
...data2,
|
|
@@ -14101,7 +14111,7 @@
|
|
|
14101
14111
|
nesting: !!result.queue || isHeading,
|
|
14102
14112
|
tagName: child.tagName,
|
|
14103
14113
|
level,
|
|
14104
|
-
html:
|
|
14114
|
+
html: html22,
|
|
14105
14115
|
comments: result.comments,
|
|
14106
14116
|
data: data2
|
|
14107
14117
|
});
|
|
@@ -25686,7 +25696,7 @@ ${end2.comment}` : end2.comment;
|
|
|
25686
25696
|
}
|
|
25687
25697
|
}
|
|
25688
25698
|
const transformerVersions = {
|
|
25689
|
-
"markmap-lib": "0.17.3-alpha.
|
|
25699
|
+
"markmap-lib": "0.17.3-alpha.2"
|
|
25690
25700
|
};
|
|
25691
25701
|
exports.Transformer = Transformer;
|
|
25692
25702
|
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.17.3-alpha.
|
|
3
|
+
"version": "0.17.3-alpha.2+9f2920f",
|
|
4
4
|
"description": "Visualize your Markdown as mindmaps with Markmap",
|
|
5
5
|
"author": "Gerald <gera2ld@live.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -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.17.3-alpha.
|
|
78
|
-
"markmap-view": "0.17.
|
|
77
|
+
"markmap-html-parser": "0.17.3-alpha.2+9f2920f",
|
|
78
|
+
"markmap-view": "0.17.2",
|
|
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": "9f2920fcb10e39ca7bf714c8768539bf60357752"
|
|
100
100
|
}
|