joplin-plugin-context-utils 1.4.2 → 1.5.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
|
@@ -10,7 +10,7 @@ Context Utils is a Joplin plugin that adds context menu options in the markdown
|
|
|
10
10
|
|
|
11
11
|
## Context Menu Options
|
|
12
12
|
|
|
13
|
-
**Open Link/
|
|
13
|
+
**Open Link/Send Email** - Open external URLs in browser or open mailto: links in default mail client.
|
|
14
14
|
|
|
15
15
|
**Add External Link** - Insert a hyperlink at the cursor
|
|
16
16
|
|
|
@@ -20,31 +20,30 @@ Context Utils is a Joplin plugin that adds context menu options in the markdown
|
|
|
20
20
|
|
|
21
21
|
**Go to Heading** - Scroll editor to specified heading when right clicking on internal anchor link (e.g. `[Test](#test)`)
|
|
22
22
|
|
|
23
|
-
**Copy URL/Copy
|
|
24
|
-
|
|
25
|
-
**Reveal File** - Reveal Joplin resource file in file explorer.
|
|
23
|
+
**Copy URL/Copy Email** - Copy URL to clipboard, or copy email address from mailto: link.
|
|
26
24
|
|
|
27
25
|
**Copy Code** - Copy code from inline code or code block to clipboard.
|
|
28
26
|
|
|
29
|
-
**
|
|
30
|
-
|
|
31
|
-
**Check/Uncheck Task** - Toggle task on selected line.
|
|
32
|
-
|
|
33
|
-
**Check/Uncheck All Tasks** - Toggle all tasks in selection.
|
|
27
|
+
**Check/Uncheck Task** / **Check/Uncheck All Tasks** - Toggle task on selected line or Toggle all tasks in selection.
|
|
34
28
|
|
|
35
29
|
**Open Note as Pinned Tab** - Allows you to right click a link to another joplin note and pin it to a tab (requires the [Note Tabs](https://joplinapp.org/plugins/plugin/joplin.plugin.note.tabs/?from-tab=all) plugin)
|
|
36
30
|
|
|
37
|
-
**Open
|
|
31
|
+
**Open All Links** - Opens all detected HTTP(S) links in the current text selection, in selection order.
|
|
38
32
|
|
|
39
|
-
**Fetch Link Title** - Fetches the title of a URL and updates markdown link to include the title.
|
|
33
|
+
**Fetch Link Title** / **Fetch All Link Titles** - Fetches the title of a URL and updates markdown link to include the title (or converts to a markdown link if its a bare URL).
|
|
40
34
|
|
|
41
|
-
|
|
35
|
+
- Note that this results in an outbound request to fetch the web page title.
|
|
36
|
+
- If a `linkpreview.net` API key is configured in plugin settings, the plugin tries `linkpreview.net` first and falls back to direct page fetching if needed.
|
|
37
|
+
- There's special handling for JIRA links to set the link text to the JIRA issue number (since JIRA issues just set the page title to "Jira"). There's currently no special handling for any other link types.
|
|
38
|
+
|
|
39
|
+
> [!note]
|
|
40
|
+
> Open All Links and Fetch Link Title/Fetch All Link Titles do not support reference-style links or links inside embeds.
|
|
42
41
|
|
|
43
42
|
## Settings
|
|
44
43
|
|
|
45
44
|
- Each context menu option can be enabled or disabled in the Plugin settings.
|
|
46
|
-
|
|
47
45
|
- Enable/Disable toast messages.
|
|
46
|
+
- Optional secure `linkpreview.net` API key setting for link title fetching.
|
|
48
47
|
|
|
49
48
|
## Misc Notes
|
|
50
49
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joplin-plugin-context-utils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.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",
|
|
@@ -23,25 +23,25 @@
|
|
|
23
23
|
"@codemirror/lang-markdown": "^6.5.0",
|
|
24
24
|
"@codemirror/language": "^6.11.3",
|
|
25
25
|
"@codemirror/state": "^6.5.2",
|
|
26
|
-
"@eslint/eslintrc": "^3.3.
|
|
27
|
-
"@eslint/js": "^
|
|
26
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
27
|
+
"@eslint/js": "^10.0.1",
|
|
28
28
|
"@types/jest": "^30.0.0",
|
|
29
29
|
"@types/node": "^24.10.0",
|
|
30
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
31
|
-
"@typescript-eslint/parser": "^8.
|
|
30
|
+
"@typescript-eslint/eslint-plugin": "^8.58.1",
|
|
31
|
+
"@typescript-eslint/parser": "^8.58.1",
|
|
32
32
|
"baseline-browser-mapping": "^2.9.19",
|
|
33
33
|
"chalk": "^4.1.0",
|
|
34
|
-
"copy-webpack-plugin": "^
|
|
35
|
-
"eslint": "^
|
|
34
|
+
"copy-webpack-plugin": "^14.0.0",
|
|
35
|
+
"eslint": "^10.2.0",
|
|
36
36
|
"eslint-config-prettier": "^10.1.8",
|
|
37
|
-
"eslint-plugin-import": "^
|
|
38
|
-
"eslint-plugin-prettier": "^5.5.
|
|
37
|
+
"eslint-plugin-import-x": "^4.16.2",
|
|
38
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
39
39
|
"fs-extra": "^10.1.0",
|
|
40
40
|
"glob": "^8.0.3",
|
|
41
41
|
"jest": "^30.2.0",
|
|
42
42
|
"jest-environment-jsdom": "^30.2.0",
|
|
43
|
-
"prettier": "^3.
|
|
44
|
-
"tar": "^7.5.
|
|
43
|
+
"prettier": "^3.8.2",
|
|
44
|
+
"tar": "^7.5.7",
|
|
45
45
|
"ts-jest": "^29.4.5",
|
|
46
46
|
"ts-loader": "^9.3.1",
|
|
47
47
|
"typescript": "^5.9.3",
|
|
Binary file
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"manifest_version": 1,
|
|
3
3
|
"id": "com.bwat47.context-utils",
|
|
4
4
|
"app_min_version": "3.3",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.5.0",
|
|
6
6
|
"name": "Context Utils",
|
|
7
7
|
"description": "Adds context menu options in the markdown editor related to links, images, task lists and code",
|
|
8
8
|
"author": "bwat47",
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"src": "images/context-utils_promo_tile.png",
|
|
44
44
|
"label": "Context Utils Promo Tile"
|
|
45
45
|
},
|
|
46
|
-
"_publish_hash": "sha256:
|
|
47
|
-
"_publish_commit": "main:
|
|
46
|
+
"_publish_hash": "sha256:6a86d60ac3be62aef467442ff8a9fc75f4539bf9f9ce8a91c65ee0ab57b68cf1",
|
|
47
|
+
"_publish_commit": "main:4304b8252244e98a127e97c4399542c61a83f605"
|
|
48
48
|
}
|