joplin-plugin-markmap 1.0.2 → 1.0.4

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 CHANGED
@@ -8,20 +8,25 @@ This plugin allows the usage of markmap to visualize the current note in form of
8
8
  To access the mindmap open the note and click on the diagram icon seen in the taskbar.
9
9
  Zooming as well as paning can be done with the mouse.
10
10
  Each node is collapseable by clicking on it.
11
+ Currently it is only possible to export the mindmap to a html file.
11
12
 
12
13
  ## TODO
13
14
  - [ ] Save to various formats (SVG, PNG, to note itself)
14
15
  - [ ] Save to SVG
15
16
  - [ ] Save to PNG
17
+ - [x] Save to HTML (Online)
16
18
  - [ ] Save to to note
17
- - [ ] show control indicators (zoom, move in a direction)
19
+ - [ ] Show control indicators (zoom, move in a direction)
20
+ - [ ] Note title as root
18
21
  - [ ] Explain controls on the mindmap
19
22
  - [ ] Test
20
23
  - [ ] Recheck if note is still null
24
+ - [ ] Dynamically use note title as mindmap root
21
25
  - [x] License
22
26
 
23
27
  ## Known bugs
24
28
  - Because of note sanitization some math commands (e.g. \lt) are not visualised correctly (e.g. `<`)
29
+ - Sometimes the mindmap does not load leaving the window empty. Closing and opening the mindmap window again is a workaround for that problem.
25
30
 
26
31
  ## Joplin Plugin Development
27
32
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-markmap",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "scripts": {
5
5
  "dist": "webpack --joplin-plugin-config buildMain && webpack --joplin-plugin-config buildExtraScripts && webpack --joplin-plugin-config createArchive",
6
6
  "prepare": "npm run dist",
@@ -29,6 +29,8 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "dompurify": "^3.0.1",
32
+ "file-saver-es": "^2.0.5",
33
+ "markmap-lib": "^0.14.4",
32
34
  "uuid": "^9.0.0"
33
35
  }
34
36
  }
Binary file
@@ -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:f06e41ce0db4b842e926c29c27f6a21771d40ce63fb322ba75e5ea033b01c88d",
14
- "_publish_commit": "main:2c1f10e1e4356812d6b45ecc55fed06db7308608"
13
+ "_publish_hash": "sha256:2ca7b64511d4ec4d4526dcde53d5f60a679d8e6afb75d51978f4c65641f12d18",
14
+ "_publish_commit": "feature-markmap-module-usage:a61d3347e649cd100eed14b4b1914faa3c879718"
15
15
  }