markmap-lib 0.15.4 → 0.15.5
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/README.md +2 -2
- package/dist/browser/index.js +4 -4
- package/dist/browser/index.mjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -12,8 +12,8 @@ Visualize your Markdown as mindmaps.
|
|
|
12
12
|
$ npm install markmap-lib
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
See [markmap-cli](https://github.com/
|
|
15
|
+
See [markmap-cli](https://github.com/markmap/markmap/tree/master/packages/markmap-cli) for command-line usage.
|
|
16
16
|
|
|
17
|
-
See [markmap-view](https://github.com/
|
|
17
|
+
See [markmap-view](https://github.com/markmap/markmap/tree/master/packages/markmap-view) for rendering in browser.
|
|
18
18
|
|
|
19
19
|
👉 [Read the documentation](https://markmap.js.org/docs) for more detail.
|
package/dist/browser/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! markmap-lib v0.15.
|
|
1
|
+
/*! markmap-lib v0.15.5 | MIT License */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('katex')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'katex'], factory) :
|
|
@@ -6,7 +6,7 @@ typeof define === 'function' && define.amd ? define(['exports', 'katex'], factor
|
|
|
6
6
|
})(this, (function (exports, require$$0) { 'use strict';
|
|
7
7
|
|
|
8
8
|
const template = "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>Markmap</title>\n<style>\n* {\n margin: 0;\n padding: 0;\n}\n#mindmap {\n display: block;\n width: 100vw;\n height: 100vh;\n}\n</style>\n<!--CSS-->\n</head>\n<body>\n<svg id=\"mindmap\"></svg>\n<!--JS-->\n</body>\n</html>\n" ;
|
|
9
|
-
const baseJsPaths = [`d3@${"7.8.5"}/dist/d3.min.js`, `markmap-view@${"0.15.
|
|
9
|
+
const baseJsPaths = [`d3@${"7.8.5"}/dist/d3.min.js`, `markmap-view@${"0.15.5"}/dist/browser/index.js`];
|
|
10
10
|
|
|
11
11
|
function _extends$1() {
|
|
12
12
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
@@ -7119,7 +7119,7 @@ Remarkable.prototype.renderInline = function (str, env) {
|
|
|
7119
7119
|
return this.renderer.render(this.parseInline(str, env), this.options, env);
|
|
7120
7120
|
};
|
|
7121
7121
|
|
|
7122
|
-
/*! markmap-common v0.15.
|
|
7122
|
+
/*! markmap-common v0.15.5 | MIT License */
|
|
7123
7123
|
function _extends() {
|
|
7124
7124
|
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
7125
7125
|
for (var i = 1; i < arguments.length; i++) {
|
|
@@ -11324,7 +11324,7 @@ class Transformer {
|
|
|
11324
11324
|
}
|
|
11325
11325
|
|
|
11326
11326
|
const transformerVersions = {
|
|
11327
|
-
'markmap-lib': '0.15.
|
|
11327
|
+
'markmap-lib': '0.15.5',
|
|
11328
11328
|
d3: "7.8.5"
|
|
11329
11329
|
};
|
|
11330
11330
|
|
package/dist/browser/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! markmap-lib v0.15.
|
|
1
|
+
/*! markmap-lib v0.15.5 | MIT License */
|
|
2
2
|
import _extends from '@babel/runtime/helpers/esm/extends';
|
|
3
3
|
import { Remarkable } from 'remarkable';
|
|
4
4
|
import { buildJSItem, buildCSSItem, Hook, noop, loadJS, UrlBuilder, wrapFunction, persistCSS, persistJS } from 'markmap-common';
|
|
@@ -6,7 +6,7 @@ import remarkableKatex from 'remarkable-katex';
|
|
|
6
6
|
import yaml from 'js-yaml';
|
|
7
7
|
|
|
8
8
|
const template = "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>Markmap</title>\n<style>\n* {\n margin: 0;\n padding: 0;\n}\n#mindmap {\n display: block;\n width: 100vw;\n height: 100vh;\n}\n</style>\n<!--CSS-->\n</head>\n<body>\n<svg id=\"mindmap\"></svg>\n<!--JS-->\n</body>\n</html>\n" ;
|
|
9
|
-
const baseJsPaths = [`d3@${"7.8.5"}/dist/d3.min.js`, `markmap-view@${"0.15.
|
|
9
|
+
const baseJsPaths = [`d3@${"7.8.5"}/dist/d3.min.js`, `markmap-view@${"0.15.5"}/dist/browser/index.js`];
|
|
10
10
|
|
|
11
11
|
const name$3 = 'katex';
|
|
12
12
|
const preloadScripts$1 = [`katex@${"0.16.8"}/dist/katex.min.js`].map(path => buildJSItem(path));
|
|
@@ -530,7 +530,7 @@ class Transformer {
|
|
|
530
530
|
}
|
|
531
531
|
|
|
532
532
|
const transformerVersions = {
|
|
533
|
-
'markmap-lib': '0.15.
|
|
533
|
+
'markmap-lib': '0.15.5',
|
|
534
534
|
d3: "7.8.5"
|
|
535
535
|
};
|
|
536
536
|
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! markmap-lib v0.15.
|
|
1
|
+
/*! markmap-lib v0.15.5 | MIT License */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var _extends = require('@babel/runtime/helpers/extends');
|
|
@@ -9,7 +9,7 @@ var yaml = require('js-yaml');
|
|
|
9
9
|
var hljs = require('highlight.js');
|
|
10
10
|
|
|
11
11
|
const template = "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>Markmap</title>\n<style>\n* {\n margin: 0;\n padding: 0;\n}\n#mindmap {\n display: block;\n width: 100vw;\n height: 100vh;\n}\n</style>\n<!--CSS-->\n</head>\n<body>\n<svg id=\"mindmap\"></svg>\n<!--JS-->\n</body>\n</html>\n" ;
|
|
12
|
-
const baseJsPaths = [`d3@${"7.8.5"}/dist/d3.min.js`, `markmap-view@${"0.15.
|
|
12
|
+
const baseJsPaths = [`d3@${"7.8.5"}/dist/d3.min.js`, `markmap-view@${"0.15.5"}/dist/browser/index.js`];
|
|
13
13
|
|
|
14
14
|
const name$3 = 'katex';
|
|
15
15
|
const preloadScripts$1 = [`katex@${"0.16.8"}/dist/katex.min.js`].map(path => markmapCommon.buildJSItem(path));
|
|
@@ -466,7 +466,7 @@ class Transformer {
|
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
const transformerVersions = {
|
|
469
|
-
'markmap-lib': '0.15.
|
|
469
|
+
'markmap-lib': '0.15.5',
|
|
470
470
|
d3: "7.8.5"
|
|
471
471
|
};
|
|
472
472
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! markmap-lib v0.15.
|
|
1
|
+
/*! markmap-lib v0.15.5 | MIT License */
|
|
2
2
|
import _extends from '@babel/runtime/helpers/esm/extends';
|
|
3
3
|
import { Remarkable } from 'remarkable';
|
|
4
4
|
import { buildJSItem, buildCSSItem, Hook, wrapFunction, noop, UrlBuilder, persistCSS, persistJS } from 'markmap-common';
|
|
@@ -7,7 +7,7 @@ import yaml from 'js-yaml';
|
|
|
7
7
|
import hljs from 'highlight.js';
|
|
8
8
|
|
|
9
9
|
const template = "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>Markmap</title>\n<style>\n* {\n margin: 0;\n padding: 0;\n}\n#mindmap {\n display: block;\n width: 100vw;\n height: 100vh;\n}\n</style>\n<!--CSS-->\n</head>\n<body>\n<svg id=\"mindmap\"></svg>\n<!--JS-->\n</body>\n</html>\n" ;
|
|
10
|
-
const baseJsPaths = [`d3@${"7.8.5"}/dist/d3.min.js`, `markmap-view@${"0.15.
|
|
10
|
+
const baseJsPaths = [`d3@${"7.8.5"}/dist/d3.min.js`, `markmap-view@${"0.15.5"}/dist/browser/index.js`];
|
|
11
11
|
|
|
12
12
|
const name$3 = 'katex';
|
|
13
13
|
const preloadScripts$1 = [`katex@${"0.16.8"}/dist/katex.min.js`].map(path => buildJSItem(path));
|
|
@@ -464,7 +464,7 @@ class Transformer {
|
|
|
464
464
|
}
|
|
465
465
|
|
|
466
466
|
const transformerVersions = {
|
|
467
|
-
'markmap-lib': '0.15.
|
|
467
|
+
'markmap-lib': '0.15.5',
|
|
468
468
|
d3: "7.8.5"
|
|
469
469
|
};
|
|
470
470
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markmap-lib",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.5",
|
|
4
4
|
"description": "Visualize your Markdown as mindmaps with Markmap",
|
|
5
5
|
"author": "Gerald <gera2ld@live.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@highlightjs/cdn-assets": "^11.8.0",
|
|
51
51
|
"@types/remarkable": "^2.0.3",
|
|
52
|
-
"markmap-common": "0.15.
|
|
53
|
-
"markmap-view": "0.15.
|
|
52
|
+
"markmap-common": "0.15.5",
|
|
53
|
+
"markmap-view": "0.15.5",
|
|
54
54
|
"webfontloader": "^1.6.28"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
]
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "f7bda12b219cba3833dec1dae1daad14c3b53db6"
|
|
79
79
|
}
|