joplin-plugin-codeblock-autocomplete 1.7.1 → 1.7.3
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
|
@@ -69,11 +69,22 @@ Other Markdown apps usually ignore the extra words and use the first one as the
|
|
|
69
69
|
|
|
70
70
|
## Settings
|
|
71
71
|
|
|
72
|
-
| Setting | Controls
|
|
73
|
-
| -------------------------------------------------------------- |
|
|
74
|
-
| Enable language auto-complete | Language dropdown for code fences.
|
|
75
|
-
| Show Markdown editor code block header (title and copy button) | Header in the Markdown editor.
|
|
76
|
-
| Show line numbers in Markdown editor code blocks | Editor line numbers.
|
|
77
|
-
| Show Markdown viewer code block header (title and copy button) | Header in the Markdown viewer and Rich Text editors.
|
|
78
|
-
| Show line numbers in Markdown viewer code blocks | Line numbers in the Markdown viewer and Rich Text editors.
|
|
79
|
-
| Autocomplete languages | Comma-separated language identifiers shown in the dropdown. |
|
|
72
|
+
| Setting | Controls |
|
|
73
|
+
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
|
74
|
+
| Enable language auto-complete | Language dropdown for code fences. |
|
|
75
|
+
| Show Markdown editor code block header (title and copy button) | Header in the Markdown editor. |
|
|
76
|
+
| Show line numbers in Markdown editor code blocks | Editor line numbers. |
|
|
77
|
+
| Show Markdown viewer code block header (title and copy button) | Header in the Markdown viewer and Rich Text editors. |
|
|
78
|
+
| Show line numbers in Markdown viewer code blocks | Line numbers in the Markdown viewer and Rich Text editors. |
|
|
79
|
+
| Autocomplete languages | Comma-separated language identifiers shown in the dropdown. Clear the list to restore the defaults. |
|
|
80
|
+
|
|
81
|
+
## Building from source
|
|
82
|
+
|
|
83
|
+
Requires Node 22 or later.
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
npm ci
|
|
87
|
+
npm run dist
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
The build creates the installable plugin at `publish/com.bwat47.codeblock-autocomplete.jpl`.
|
package/package.json
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-codeblock-autocomplete",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dist": "npm run typecheck && joplin-plugin-scripts build",
|
|
6
6
|
"prepare": "npm run dist",
|
|
7
7
|
"updateVersion": "joplin-plugin-scripts update-version",
|
|
8
8
|
"updateApi": "joplin-plugin-scripts update-api",
|
|
9
|
-
"lint": "
|
|
10
|
-
"lint:
|
|
11
|
-
"
|
|
12
|
-
"
|
|
9
|
+
"lint": "oxlint src/ && npm run lint:dead-code && npm run lint:complexity",
|
|
10
|
+
"lint:dead-code": "fallow dead-code",
|
|
11
|
+
"lint:complexity": "fallow health --complexity",
|
|
12
|
+
"lint:fix": "oxlint src/ --fix",
|
|
13
|
+
"format": "oxfmt --write",
|
|
14
|
+
"format:check": "oxfmt --check",
|
|
13
15
|
"test": "vitest run --passWithNoTests",
|
|
14
16
|
"test:watch": "vitest --passWithNoTests",
|
|
15
|
-
"knip": "knip",
|
|
16
17
|
"typecheck": "tsc --noEmit"
|
|
17
18
|
},
|
|
18
19
|
"license": "MIT",
|
|
19
20
|
"engines": {
|
|
20
|
-
"node": ">=
|
|
21
|
+
"node": "^22.22.2 || ^24.15.0 || >=26.0.0"
|
|
21
22
|
},
|
|
22
23
|
"keywords": [
|
|
23
24
|
"joplin-plugin"
|
|
@@ -26,34 +27,21 @@
|
|
|
26
27
|
"publish"
|
|
27
28
|
],
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"@bwat47/joplin-plugin-scripts": "^
|
|
30
|
+
"@bwat47/joplin-plugin-scripts": "^2.0.0",
|
|
30
31
|
"@codemirror/autocomplete": "6.20.1",
|
|
31
32
|
"@codemirror/lang-markdown": "6.5.0",
|
|
32
33
|
"@codemirror/language": "6.12.3",
|
|
33
34
|
"@codemirror/state": "6.7.1",
|
|
34
35
|
"@codemirror/view": "6.43.14",
|
|
35
|
-
"@eslint/js": "^10.0.1",
|
|
36
|
-
"@ianvs/prettier-plugin-sort-imports": "^4.7.1",
|
|
37
36
|
"@lezer/common": "1.5.0",
|
|
38
|
-
"@types/node": "^24.
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"jsdom": "^31.0.0",
|
|
48
|
-
"knip": "^6.44.1",
|
|
49
|
-
"prettier": "^3.9.10",
|
|
50
|
-
"typescript": "^6.0.3",
|
|
51
|
-
"typescript-eslint": "^8.72.1",
|
|
52
|
-
"vitest": "^5.1.0"
|
|
53
|
-
},
|
|
54
|
-
"overrides": {
|
|
55
|
-
"eslint-plugin-tsdoc": {
|
|
56
|
-
"@typescript-eslint/utils": "8.72.1"
|
|
57
|
-
}
|
|
37
|
+
"@types/node": "^24.19.2",
|
|
38
|
+
"eslint-plugin-regexp": "^3.3.3",
|
|
39
|
+
"fallow": "^3.45.0",
|
|
40
|
+
"jsdom": "^31.0.1",
|
|
41
|
+
"oxfmt": "^0.79.0",
|
|
42
|
+
"oxlint": "^1.94.0",
|
|
43
|
+
"oxlint-tsgolint": "^7.0.2008",
|
|
44
|
+
"typescript": "^7.0.2",
|
|
45
|
+
"vitest": "^5.1.1"
|
|
58
46
|
}
|
|
59
47
|
}
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"id": "com.bwat47.codeblock-autocomplete",
|
|
4
4
|
"app_min_version": "3.3",
|
|
5
|
-
"version": "1.7.
|
|
5
|
+
"version": "1.7.3",
|
|
6
6
|
"platforms": [
|
|
7
7
|
"desktop",
|
|
8
8
|
"mobile"
|
|
@@ -57,6 +57,6 @@
|
|
|
57
57
|
"src": "images/promo.png",
|
|
58
58
|
"label": "Codeblock Utils Promo Tile"
|
|
59
59
|
},
|
|
60
|
-
"_publish_hash": "sha256:
|
|
61
|
-
"_publish_commit": "main:
|
|
60
|
+
"_publish_hash": "sha256:715a01a183af0903315441e023024de2606eb0f517037f7b7ffbcb6eeeaddff9",
|
|
61
|
+
"_publish_commit": "main:87cc44f563de1b93d58f9929b90f8217fd6b683a"
|
|
62
62
|
}
|