joplin-plugin-markmap 1.4.4 → 1.6.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/README.md +33 -31
- package/package.json +17 -14
- package/publish/de.fomin.markmap.jpl +0 -0
- package/publish/de.fomin.markmap.json +3 -3
- package/publish/index.js.LICENSE.txt +1 -0
package/README.md
CHANGED
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
# Joplin Markmap Plugin
|
|
2
|
-
|
|
3
|
-
This plugin allows the usage of markmap to visualize the current note in form of a mindmap.
|
|
4
|
-
|
|
5
|
-

|
|
6
|
-
|
|
7
|
-
## Usage
|
|
8
|
-
To access the mindmap open the note and click on the diagram icon seen in the taskbar.
|
|
9
|
-
Zooming as well as paning can be done with the mouse.
|
|
10
|
-
Each node is collapseable by clicking on it.
|
|
11
|
-
It is possible to export the mindmap to a html file, a PNG file, a SVG file and to the note itself.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
- [x] Save to
|
|
18
|
-
- [x] Save to
|
|
19
|
-
- [x] Save to
|
|
20
|
-
- [
|
|
21
|
-
- [
|
|
22
|
-
- [
|
|
23
|
-
- [
|
|
24
|
-
- [x]
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
# Joplin Markmap Plugin
|
|
2
|
+
|
|
3
|
+
This plugin allows the usage of markmap to visualize the current note in form of a mindmap.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
To access the mindmap open the note and click on the diagram icon seen in the taskbar.
|
|
9
|
+
Zooming as well as paning can be done with the mouse.
|
|
10
|
+
Each node is collapseable by clicking on it.
|
|
11
|
+
It is possible to export the mindmap to a html file, a PNG file, a SVG file and to the note itself.
|
|
12
|
+
The plugin can be triggered by a hotkey (per default Ctrl/CMD + Shift + M).
|
|
13
|
+
|
|
14
|
+
All settings (described [here](https://markmap.js.org/docs/json-options)) can be set under Tools > Options > Plugins > MarkMap
|
|
15
|
+
## TODO
|
|
16
|
+
- [x] Save to various formats (SVG, PNG, to note itself)
|
|
17
|
+
- [x] Save to SVG
|
|
18
|
+
- [x] Save to PNG
|
|
19
|
+
- [x] Save to HTML (Online)
|
|
20
|
+
- [x] Save to note
|
|
21
|
+
- [x] Show control indicators (zoom, move in a direction)
|
|
22
|
+
- [x] ~~Explain controls on the mindmap~~
|
|
23
|
+
- [ ] Write Tests
|
|
24
|
+
- [x] Dynamically use note title as mindmap root
|
|
25
|
+
- [x] License
|
|
26
|
+
- [ ] Local setting per note
|
|
27
|
+
|
|
28
|
+
## Known bugs
|
|
29
|
+
- Because of note sanitization some math commands (e.g. \lt) are not visualised correctly (e.g. `<`)
|
|
30
|
+
- When the developer window is open the mindmap does not load in some cases, leaving the window empty
|
|
31
|
+
- When opening an exported svg in the firefox browser some labels appear to be cropped
|
|
32
|
+
|
|
33
|
+
## Discussion
|
|
32
34
|
The discussion can be found on [Discourse](https://discourse.joplinapp.org/t/plugin-markmap/30426).
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-markmap",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"scripts": {
|
|
5
|
-
"dist": "webpack --joplin-plugin-config
|
|
5
|
+
"dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
|
|
6
6
|
"prepare": "npm run dist",
|
|
7
|
-
"update": "npm install -g generator-joplin && yo joplin --update"
|
|
7
|
+
"update": "npm install -g generator-joplin && yo joplin --node-package-manager npm --update --force",
|
|
8
|
+
"updateVersion": "webpack --env joplin-plugin-config=updateVersion"
|
|
8
9
|
},
|
|
9
10
|
"license": "MIT",
|
|
10
11
|
"keywords": [
|
|
@@ -14,23 +15,25 @@
|
|
|
14
15
|
"publish"
|
|
15
16
|
],
|
|
16
17
|
"devDependencies": {
|
|
17
|
-
"@types/node": "^
|
|
18
|
+
"@types/node": "^18.7.13",
|
|
18
19
|
"chalk": "^4.1.0",
|
|
19
|
-
"copy-webpack-plugin": "^
|
|
20
|
-
"fs-extra": "^
|
|
21
|
-
"glob": "^
|
|
20
|
+
"copy-webpack-plugin": "^11.0.0",
|
|
21
|
+
"fs-extra": "^10.1.0",
|
|
22
|
+
"glob": "^8.0.3",
|
|
22
23
|
"on-build-webpack": "^0.1.0",
|
|
23
|
-
"tar": "^6.
|
|
24
|
-
"ts-loader": "^
|
|
25
|
-
"typescript": "^
|
|
26
|
-
"webpack": "^
|
|
27
|
-
"webpack-cli": "^
|
|
28
|
-
"yargs": "^16.2.0"
|
|
24
|
+
"tar": "^6.1.11",
|
|
25
|
+
"ts-loader": "^9.3.1",
|
|
26
|
+
"typescript": "^4.8.2",
|
|
27
|
+
"webpack": "^5.74.0",
|
|
28
|
+
"webpack-cli": "^4.10.0",
|
|
29
|
+
"yargs": "^16.2.0",
|
|
30
|
+
"@joplin/lib": "~2.9"
|
|
29
31
|
},
|
|
30
32
|
"dependencies": {
|
|
31
33
|
"dompurify": "^3.0.1",
|
|
32
34
|
"file-saver-es": "^2.0.5",
|
|
33
|
-
"markmap-
|
|
35
|
+
"markmap-common": "^0.15.3",
|
|
36
|
+
"markmap-lib": "^0.15.4",
|
|
34
37
|
"uuid": "^9.0.0"
|
|
35
38
|
}
|
|
36
39
|
}
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"id": "de.fomin.markmap",
|
|
4
4
|
"app_min_version": "2.8",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.6.0",
|
|
6
6
|
"name": "Markmap",
|
|
7
7
|
"description": "Generate a mindmap using markmap",
|
|
8
8
|
"author": "Daniel Fomin",
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
"repository_url": "https://git.fomin.site/daniel/joplin-markmap",
|
|
11
11
|
"keywords": [],
|
|
12
12
|
"categories": [],
|
|
13
|
-
"_publish_hash": "sha256:
|
|
14
|
-
"_publish_commit": "main:
|
|
13
|
+
"_publish_hash": "sha256:7971c671e5b570d2279658b11f24eaa9b640c88cd490623fa6dad848d42a4b54",
|
|
14
|
+
"_publish_commit": "main:4e0102c32e0ecf19020b512f474634f016803f41"
|
|
15
15
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! For license information please see index.js.LICENSE.txt */
|