joplin-plugin-codeblock-autocomplete 1.1.0 → 1.2.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/README.md CHANGED
@@ -3,11 +3,14 @@
3
3
 
4
4
  # Codeblock Autocomplete
5
5
 
6
- Provides auto-complete when creating fenced code blocks.
6
+ Provides auto-complete when creating fenced code blocks, plus a few other utilities:
7
+
8
+ - Copy button for code blocks in the markdown editor
9
+ - Toolbar button to insert new code block
7
10
 
8
11
  Codemirror 6 only, legacy editor is not supported.
9
12
 
10
- ![example](https://github.com/user-attachments/assets/2681aa4e-e3e4-44e4-84ae-b68df16c8b1a)
13
+ <img width="2234" height="1714" alt="ex" src="https://github.com/user-attachments/assets/cb806e10-b4bb-4079-a933-1366c6d15a3d" />
11
14
 
12
15
  ## Usage
13
16
 
@@ -24,3 +27,5 @@ Typing an opening fence (three+ backticks or three+ tildes) will trigger the aut
24
27
  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
28
 
26
29
  Autocomplete languages - Comma-separated list of language identifiers to show in the autocomplete menu.
30
+
31
+ Enable code block copy widget - Show a copy button on fenced code blocks in the Markdown editor and hide the opening-fence language text when the cursor is not on that line.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joplin-plugin-codeblock-autocomplete",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
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",
@@ -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.1.0",
5
+ "version": "1.2.1",
6
6
  "platforms": [
7
7
  "desktop",
8
8
  "mobile"
9
9
  ],
10
10
  "name": "Codeblock Autocomplete",
11
- "description": "Auto-Completes code fences in the markdown editor (with optional dropdown for language auto-complete)",
11
+ "description": "Code block utilities for the markdown editor: auto-completes fenced code, copy button for code blocks, toolbar button to create code blocks",
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",
@@ -19,7 +19,8 @@
19
19
  "fenced code block",
20
20
  "code fence",
21
21
  "fence",
22
- "code fence autocomplete"
22
+ "code fence autocomplete",
23
+ "copy"
23
24
  ],
24
25
  "categories": [
25
26
  "productivity",
@@ -43,6 +44,6 @@
43
44
  "src": "images/promo.png",
44
45
  "label": "Codeblock Autocomplete Promo Tile"
45
46
  },
46
- "_publish_hash": "sha256:624e441f2ec55e2a01bb0abc922d35df216da34880ee33f786eb928b7eee8035",
47
- "_publish_commit": "main:608550a3b482bbe6018343c4f680a0e5b9bb758d"
47
+ "_publish_hash": "sha256:9f60c6d9ea364e38d90dbcedafa469d746048f08739525e31b82461ebacc358e",
48
+ "_publish_commit": "main:da56f36343feda7cabd23b001f3f5970a9306a04"
48
49
  }