joplin-plugin-math-mode 0.6.2 → 0.7.1
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/examples/README.md +1 -1
- package/icons/128.png +0 -0
- package/icons/16.png +0 -0
- package/icons/32.png +0 -0
- package/icons/64.png +0 -0
- package/icons/icon.svg +63 -0
- package/package.json +18 -14
- package/plugin.config.json +1 -2
- package/publish/plugin.calebjohn.MathMode.jpl +0 -0
- package/publish/plugin.calebjohn.MathMode.json +27 -3
- package/shell.nix +2 -0
package/examples/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Another `total` example that demonstrates the explicit addition and summation sy
|
|
|
13
13
|
|
|
14
14
|
## Euro Trip
|
|
15
15
|
Example that demonstrates the use of currency conversion. Also uses the `total` variable to sum up the daily cost of a trip.
|
|
16
|
-

|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
# Advanced
|
package/icons/128.png
ADDED
|
Binary file
|
package/icons/16.png
ADDED
|
Binary file
|
package/icons/32.png
ADDED
|
Binary file
|
package/icons/64.png
ADDED
|
Binary file
|
package/icons/icon.svg
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<svg
|
|
3
|
+
width="256"
|
|
4
|
+
height="256"
|
|
5
|
+
style="vector-effect: non-scaling-stroke;"
|
|
6
|
+
version="1.1"
|
|
7
|
+
id="svg1"
|
|
8
|
+
sodipodi:docname="icon.svg"
|
|
9
|
+
inkscape:export-filename="16.png"
|
|
10
|
+
inkscape:export-xdpi="6"
|
|
11
|
+
inkscape:export-ydpi="6"
|
|
12
|
+
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
|
13
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
14
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
15
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
16
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
17
|
+
<defs
|
|
18
|
+
id="defs1" />
|
|
19
|
+
<sodipodi:namedview
|
|
20
|
+
id="namedview1"
|
|
21
|
+
pagecolor="#ffffff"
|
|
22
|
+
bordercolor="#000000"
|
|
23
|
+
borderopacity="0.25"
|
|
24
|
+
inkscape:showpageshadow="2"
|
|
25
|
+
inkscape:pageopacity="0.0"
|
|
26
|
+
inkscape:pagecheckerboard="0"
|
|
27
|
+
inkscape:deskcolor="#d1d1d1"
|
|
28
|
+
inkscape:zoom="3.4492188"
|
|
29
|
+
inkscape:cx="128"
|
|
30
|
+
inkscape:cy="54.360136"
|
|
31
|
+
inkscape:window-width="1920"
|
|
32
|
+
inkscape:window-height="1131"
|
|
33
|
+
inkscape:window-x="0"
|
|
34
|
+
inkscape:window-y="0"
|
|
35
|
+
inkscape:window-maximized="1"
|
|
36
|
+
inkscape:current-layer="svg1" />
|
|
37
|
+
<g
|
|
38
|
+
id="g1">
|
|
39
|
+
<title
|
|
40
|
+
id="title1">Layer 1</title>
|
|
41
|
+
<rect
|
|
42
|
+
rx="71.533409"
|
|
43
|
+
id="svg_4"
|
|
44
|
+
height="256"
|
|
45
|
+
width="256"
|
|
46
|
+
y="0.1665"
|
|
47
|
+
x="0"
|
|
48
|
+
stroke-width="0"
|
|
49
|
+
stroke="#000000"
|
|
50
|
+
fill="#ffffff" />
|
|
51
|
+
<text
|
|
52
|
+
xml:space="preserve"
|
|
53
|
+
text-anchor="start"
|
|
54
|
+
font-family="Noto Sans JP"
|
|
55
|
+
font-size="250"
|
|
56
|
+
id="svg_3"
|
|
57
|
+
y="214.77083"
|
|
58
|
+
x="23.26042"
|
|
59
|
+
stroke-width="0"
|
|
60
|
+
stroke="#000"
|
|
61
|
+
fill="#000000">=</text>
|
|
62
|
+
</g>
|
|
63
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-math-mode",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"homepage": "https://github.com/CalebJohn/joplin-math-mode",
|
|
5
5
|
"description": "",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"dist": "webpack --joplin-plugin-config
|
|
7
|
+
"dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
|
|
8
8
|
"prepare": "npm run dist",
|
|
9
|
-
"
|
|
9
|
+
"updateVersion": "webpack --env joplin-plugin-config=updateVersion",
|
|
10
|
+
"update": "npm install -g generator-joplin && yo joplin --node-package-manager npm --update --force",
|
|
11
|
+
"updatetags": "LOGS=$(git log $(git describe --tags --abbrev=0 HEAD~1)..HEAD~1 --oneline) && git tag -fam \"v$npm_package_version\n\n$LOGS\" v$npm_package_version && git tag -fa v$npm_package_version",
|
|
12
|
+
"postversion": "npm run updatetags && git push origin main --tags",
|
|
13
|
+
"version": "sed -i '/\\\"version\\\": \\\"/s/[^\\\"]*\\\",/'\"$npm_package_version\\\",/\" src/manifest.json && git add src/manifest.json"
|
|
10
14
|
},
|
|
11
15
|
"keywords": [
|
|
12
16
|
"joplin-plugin",
|
|
@@ -15,18 +19,18 @@
|
|
|
15
19
|
],
|
|
16
20
|
"license": "MIT",
|
|
17
21
|
"devDependencies": {
|
|
18
|
-
"@
|
|
22
|
+
"@codemirror/view": "^6.26.3",
|
|
23
|
+
"@codemirror/language": "^6.10.2",
|
|
24
|
+
"@types/node": "^18.7.13",
|
|
19
25
|
"chalk": "^4.1.0",
|
|
20
|
-
"copy-webpack-plugin": "^
|
|
21
|
-
"fs-extra": "^
|
|
22
|
-
"glob": "^
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"webpack": "^4.
|
|
28
|
-
"webpack-cli": "^3.3.11",
|
|
29
|
-
"yargs": "^16.2.0"
|
|
26
|
+
"copy-webpack-plugin": "^11.0.0",
|
|
27
|
+
"fs-extra": "^10.1.0",
|
|
28
|
+
"glob": "^8.0.3",
|
|
29
|
+
"tar": "^6.1.11",
|
|
30
|
+
"ts-loader": "^9.3.1",
|
|
31
|
+
"typescript": "^4.8.2",
|
|
32
|
+
"webpack": "^5.74.0",
|
|
33
|
+
"webpack-cli": "^4.10.0"
|
|
30
34
|
},
|
|
31
35
|
"dependencies": {
|
|
32
36
|
"mathjs": "^8.1.1"
|
package/plugin.config.json
CHANGED
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"id": "plugin.calebjohn.MathMode",
|
|
4
4
|
"app_min_version": "1.8",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.7.1",
|
|
6
6
|
"name": "Math Mode",
|
|
7
7
|
"description": "Turn your notes into a powerful calculator with inline math.",
|
|
8
8
|
"author": "Caleb John",
|
|
@@ -13,6 +13,30 @@
|
|
|
13
13
|
"math",
|
|
14
14
|
"mathjs"
|
|
15
15
|
],
|
|
16
|
-
"
|
|
17
|
-
|
|
16
|
+
"categories": [
|
|
17
|
+
"editor",
|
|
18
|
+
"productivity"
|
|
19
|
+
],
|
|
20
|
+
"platforms": [
|
|
21
|
+
"desktop",
|
|
22
|
+
"mobile"
|
|
23
|
+
],
|
|
24
|
+
"screenshots": [
|
|
25
|
+
{
|
|
26
|
+
"src": "examples/road_trip.png",
|
|
27
|
+
"label": "An example demonstrating how the plugin can be used to to track multiple simple calculations."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"src": "examples/euro_trip.png",
|
|
31
|
+
"label": "An example demonstrating the ability to do currency conversion."
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"icons": {
|
|
35
|
+
"16": "icons/16.png",
|
|
36
|
+
"32": "icons/32.png",
|
|
37
|
+
"48": "icons/48.png",
|
|
38
|
+
"128": "icons/128.png"
|
|
39
|
+
},
|
|
40
|
+
"_publish_hash": "sha256:fc6c80f06c249e859cc90d0b38d8bf22d1857a32763dbfdbd236dbd78760ede9",
|
|
41
|
+
"_publish_commit": "main:c0bb74e41a7f70fb6a091df9a437813e82fcfca5"
|
|
18
42
|
}
|