Important
My coding knowledge is currently very limited. This plugin was created entirely with AI tools, and I may be limited in my ability to fix any issues.
Important
This plugin only supports the markdown editor (codemirror 6). The legacy editor is not supported.
Context Utils is a Joplin plugin that adds context menu options in the markdown editor related to links, images, task lists and code. Most of the context menu options will only appear when applicable (e.g. Copy Code only appears when right clicking inside a Code Block or Inline Code).
Open Link/Send Email - Open external URLs in browser or open mailto: links in default mail client.
Add External Link - Insert a hyperlink at the cursor
Add Link to Note - Insert a link to another note at the cursor
Go to Footnote - Scroll editor to defintion associated with the selected Footnote reference.
Go to Heading - Scroll editor to specified heading when right clicking on internal anchor link (e.g. [Test](#test))
Copy URL/Copy Email - Copy URL to clipboard, or copy email address from mailto: link.
Copy Code - Copy code from inline code or code block to clipboard.
Check/Uncheck Task / Check/Uncheck All Tasks - Toggle task on selected line or Toggle all tasks in selection.
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 plugin)
Open All Links - Opens all detected HTTP(S) links in the current text selection, in selection order.
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).
- Note that this results in an outbound request to fetch the web page title.
- 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.
Note
Open All Links and Fetch Link Title/Fetch All Link Titles do not support reference-style links or links inside embeds.
-
Each context menu option can be enabled or disabled in the Plugin settings.
-
Enable/Disable toast messages.
-
Some of these context menu options overlap with the ones provided by the Rich Markdown plugin. Each option can be toggled on/off to avoid conflicts/duplicate menu items.
-
Options for "Copy Image" and "Resize Image" are intentionally not provided by this plugin, as they are available in my other plugin: https://github.com/bwat47/simple-image-resize