joplin-plugin-math-mode 0.5.3 → 0.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 CHANGED
@@ -36,12 +36,19 @@ Plus [many more functions](https://mathjs.org/docs/reference/functions.html) pro
36
36
 
37
37
 
38
38
  # Installation
39
- - Go to `Tools -> Options -> Plugins`
39
+ - Go to `Tools -> Options -> Plugins`(macOS: Joplin -> Preferences -> Plugins)
40
40
  - Search for "Math Mode" in the search box
41
41
  - Click Install and restart Joplin
42
42
 
43
+ #### Or
44
+ - Download the [plugin jpl](https://github.com/joplin/plugins/raw/master/plugins/plugin.calebjohn.MathMode/plugin.jpl)
45
+ - Go to `Tools -> Options -> Plugins`
46
+ - Click on the gear icon and select "Install from file"
47
+ - Select the downloaded jpl file
48
+ - Restart Joplin
49
+
43
50
  # Configuration
44
- Math Mode supports a small number of settings that can be adjusted by placing a "config line" inside a math block. The defaults can be changed under Tools -> Options -> Math Mode (Preferences on MacOS). The supported settings are (defaults listed first):
51
+ Math Mode supports a small number of settings that can be adjusted by placing a "config line" inside a math block. The defaults can be changed under Tools -> Options -> Math Mode (macOS: Joplin -> Preferences -> Math Mode). The supported settings are (defaults listed first):
45
52
 
46
53
  ```math
47
54
  global: no | yes
@@ -73,7 +80,7 @@ Where
73
80
 
74
81
  `notation` passed to the [mathjs format function](https://mathjs.org/docs/reference/functions/format.html#where), this is the numerical format to use for results.
75
82
 
76
- `precision` the number of decimal places to show, 0 to show all. See [mathjs docs](https://mathjs.org/docs/reference/functions/format.html).
83
+ `precision` the number of significant digits, 0 to show all. See [mathjs docs](https://mathjs.org/docs/reference/functions/format.html).
77
84
 
78
85
  `align` place the result on the left or right of the editor window.
79
86
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-math-mode",
3
- "version": "0.5.3",
3
+ "version": "0.6.0",
4
4
  "homepage": "https://github.com/CalebJohn/joplin-math-mode",
5
5
  "description": "",
6
6
  "scripts": {
@@ -13,6 +13,6 @@
13
13
  "math",
14
14
  "mathjs"
15
15
  ],
16
- "_publish_hash": "sha256:4b790d5e91c44a3a2739e63711b2ecd6a74ae0943fcfddfe3382d450fc9ce1be",
17
- "_publish_commit": "main:fc3e1fe29428081143e85b7e41127a66f772bd3e"
16
+ "_publish_hash": "sha256:8b02de759bc133358d6db4c0c516eac362232a8adc1d64fcd01e5e8da18494fa",
17
+ "_publish_commit": "main:379568bcdcc79ab80839126b900bddbc34dea8e8"
18
18
  }
package/shell.nix ADDED
@@ -0,0 +1,8 @@
1
+ { pkgs ? import <nixpkgs> {} }:
2
+ pkgs.mkShell rec {
3
+ name = "nodejs";
4
+
5
+ buildInputs = with pkgs; [
6
+ nodejs nodePackages.webpack nodePackages.webpack-cli
7
+ ];
8
+ }