joplin-plugin-markmap 1.0.6 → 1.1.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 +6 -25
- package/package.json +1 -1
- package/publish/de.fomin.markmap.jpl +0 -0
- package/publish/de.fomin.markmap.json +3 -3
package/README.md
CHANGED
|
@@ -12,10 +12,10 @@ Currently it is only possible to export the mindmap to a html file.
|
|
|
12
12
|
|
|
13
13
|
## TODO
|
|
14
14
|
- [ ] Save to various formats (SVG, PNG, to note itself)
|
|
15
|
-
- [
|
|
15
|
+
- [x] Save to SVG
|
|
16
16
|
- [ ] Save to PNG
|
|
17
17
|
- [x] Save to HTML (Online)
|
|
18
|
-
- [ ] Save to
|
|
18
|
+
- [ ] Save to note
|
|
19
19
|
- [ ] Show control indicators (zoom, move in a direction)
|
|
20
20
|
- [ ] Explain controls on the mindmap
|
|
21
21
|
- [ ] Test
|
|
@@ -24,27 +24,8 @@ Currently it is only possible to export the mindmap to a html file.
|
|
|
24
24
|
|
|
25
25
|
## Known bugs
|
|
26
26
|
- Because of note sanitization some math commands (e.g. \lt) are not visualised correctly (e.g. `<`)
|
|
27
|
-
- When the developer window is open the mindmap does not load in some cases, leaving the window empty
|
|
27
|
+
- When the developer window is open the mindmap does not load in some cases, leaving the window empty
|
|
28
|
+
- When opening an exported svg in the firefox browser some labels appear to be cropped
|
|
28
29
|
|
|
29
|
-
##
|
|
30
|
-
|
|
31
|
-
The main two files are:
|
|
32
|
-
|
|
33
|
-
- `/src/index.ts`, which contains the entry point for the plugin source code.
|
|
34
|
-
- `/src/manifest.json`, which is the plugin manifest. It contains information such as the plugin a name, version, etc.
|
|
35
|
-
|
|
36
|
-
### Building the plugin
|
|
37
|
-
|
|
38
|
-
The plugin is built using Webpack, which creates the compiled code in `/dist`. A JPL archive will also be created at the root, which can use to distribute the plugin.
|
|
39
|
-
|
|
40
|
-
To build the plugin, simply run `npm run dist`.
|
|
41
|
-
|
|
42
|
-
The project is setup to use TypeScript, although you can change the configuration to use plain JavaScript.
|
|
43
|
-
|
|
44
|
-
### Updating the plugin framework
|
|
45
|
-
|
|
46
|
-
To update the plugin framework, run `npm run update`.
|
|
47
|
-
|
|
48
|
-
In general this command tries to do the right thing - in particular it's going to merge the changes in package.json and .gitignore instead of overwriting. It will also leave "/src" as well as README.md untouched.
|
|
49
|
-
|
|
50
|
-
The file that may cause problem is "webpack.config.js" because it's going to be overwritten. For that reason, if you want to change it, consider creating a separate JavaScript file and include it in webpack.config.js. That way, when you update, you only have to restore the line that include your file.
|
|
30
|
+
## Discussion
|
|
31
|
+
The discussion can be found on [Discourse](https://discourse.joplinapp.org/t/plugin-markmap/30426).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-markmap",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
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",
|
|
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.0
|
|
5
|
+
"version": "1.1.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:a66292d4f5005851dd27f2c044220698d14e819e74da151b133ee9b4f3c1269f",
|
|
14
|
+
"_publish_commit": "main:2c4e3b935370590a0745f8df82c0c5f5134db0d5"
|
|
15
15
|
}
|