joplin-plugin-codeblock-autocomplete 1.0.4 → 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
CHANGED
|
@@ -11,14 +11,16 @@ Codemirror 6 only, legacy editor is not supported.
|
|
|
11
11
|
|
|
12
12
|
## Usage
|
|
13
13
|
|
|
14
|
-
Typing an opening fence (three+ backticks or three+ tildes) will trigger the auto-complete list. Selecting a language will complete the code block (adding the language and closing fence).
|
|
14
|
+
Typing an opening fence (three+ backticks or three+ tildes) will trigger the auto-complete list by default. Selecting a language will complete the code block (adding the language and closing fence).
|
|
15
15
|
|
|
16
|
-
- Specifying a lanauge that's not in the list (and has no matches) will show "
|
|
16
|
+
- Specifying a lanauge that's not in the list (and has no matches) will show "Custom language" and will use the specified language as-is.
|
|
17
17
|
|
|
18
|
-
- Supports nested code blocks (enter more than three fence characters will close the block with the same number of fence characters as the opening block
|
|
18
|
+
- Supports nested code blocks (when the language dropdown is enabled): enter more than three fence characters will close the block with the same number of fence characters as the opening block.
|
|
19
19
|
|
|
20
|
-
-
|
|
20
|
+
- If language auto-complete is disabled, typing exactly three backticks or tildes immediately inserts the closing fence and leaves the cursor at the end of the opening fence so you can type a language or press Enter.
|
|
21
21
|
|
|
22
22
|
## Settings
|
|
23
23
|
|
|
24
|
+
Enable language auto-complete - Toggle the language dropdown for code fences. When disabled, typing exactly three backticks or tildes inserts a closing fence immediately without opening the dropdown.
|
|
25
|
+
|
|
24
26
|
Autocomplete languages - Comma-separated list of language identifiers to show in the autocomplete menu.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-codeblock-autocomplete",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dist": "webpack --env joplin-plugin-config=buildMain && webpack --env joplin-plugin-config=buildExtraScripts && webpack --env joplin-plugin-config=createArchive",
|
|
6
6
|
"prepare": "npm run dist",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
29
29
|
"@typescript-eslint/parser": "^8.46.3",
|
|
30
30
|
"chalk": "^4.1.0",
|
|
31
|
-
"copy-webpack-plugin": "^
|
|
31
|
+
"copy-webpack-plugin": "^14.0.0",
|
|
32
32
|
"eslint": "^9.39.1",
|
|
33
33
|
"eslint-config-prettier": "^10.1.8",
|
|
34
34
|
"eslint-plugin-import": "^2.32.0",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"fs-extra": "^10.1.0",
|
|
37
37
|
"glob": "^8.0.3",
|
|
38
38
|
"prettier": "^3.6.2",
|
|
39
|
-
"tar": "^
|
|
39
|
+
"tar": "^7.5.12",
|
|
40
40
|
"ts-loader": "^9.3.1",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
|
-
"webpack": "^5.
|
|
42
|
+
"webpack": "^5.105.4",
|
|
43
43
|
"webpack-cli": "^6.0.1"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
Binary file
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"id": "com.bwat47.codeblock-autocomplete",
|
|
4
4
|
"app_min_version": "3.3",
|
|
5
|
-
"version": "1.0
|
|
5
|
+
"version": "1.1.0",
|
|
6
6
|
"platforms": [
|
|
7
7
|
"desktop",
|
|
8
8
|
"mobile"
|
|
9
9
|
],
|
|
10
10
|
"name": "Codeblock Autocomplete",
|
|
11
|
-
"description": "
|
|
11
|
+
"description": "Auto-Completes code fences in the markdown editor (with optional dropdown for language auto-complete)",
|
|
12
12
|
"author": "bwat47",
|
|
13
13
|
"homepage_url": "https://github.com/bwat47/joplin-codeblock-autocomplete",
|
|
14
14
|
"repository_url": "https://github.com/bwat47/joplin-codeblock-autocomplete",
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"src": "images/promo.png",
|
|
44
44
|
"label": "Codeblock Autocomplete Promo Tile"
|
|
45
45
|
},
|
|
46
|
-
"_publish_hash": "sha256:
|
|
47
|
-
"_publish_commit": "main:
|
|
46
|
+
"_publish_hash": "sha256:624e441f2ec55e2a01bb0abc922d35df216da34880ee33f786eb928b7eee8035",
|
|
47
|
+
"_publish_commit": "main:608550a3b482bbe6018343c4f680a0e5b9bb758d"
|
|
48
48
|
}
|