# Copy Markdown link to active note

**URL:** <https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402>\
**Category:** Plugins\
**Created:** [28 January 2021 17:37 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402 "2021-01-28T17:37:02Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![ambrt](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ambrt/32/4428_2.png) [@ambrt](https://discourse.joplinapp.org/u/ambrt)\
**Post date:** [28 January 2021 17:37 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/1 "2021-01-28T17:37:02Z")

</div>

This simple extension allows for "Copy Markdown Link" keyboard shortcut.  
Available below or in plugin search in few days.

> **[Release Copy link of active note · ambrt/joplin-plugin-get-link-to-note](https://github.com/ambrt/joplin-plugin-get-link-to-note/releases/tag/v1.0.0)**
>
> s/tag/v1.0.0

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [28 January 2021 17:45 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/2 "2021-01-28T17:45:11Z")

</div>

This is great, although I almost think this should be part of Joplin core. Not sure why a shortcut was never added for this.

---

<div class="post-metadata">

**Author:** ![jb261](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jb261/32/7324_2.png) [@jb261](https://discourse.joplinapp.org/u/jb261)\
**Post date:** [28 January 2021 17:47 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/3 "2021-01-28T17:47:57Z")

</div>

I assigned a shortcut (CTRL+M; also tried CTRL+ALT+M), but the note link isn't being copied into clipboard. When I use right click menu option, it does get copied into clipboard.

> Joplin 1.7.9 (prod, win32)

Anyone else having this issue?

---

<div class="post-metadata">

**Author:** ![ambrt](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ambrt/32/4428_2.png) [@ambrt](https://discourse.joplinapp.org/u/ambrt)\
**Post date:** [28 January 2021 21:46 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/4 "2021-01-28T21:46:24Z")

</div>

One thing i noted is that keyboard shortcut won't work if sidebar or note list is selected.  
So basically it works only when editor is focused.  
Is that the reason in your setup?  
(I'm still on 1.7.6)

---

<div class="post-metadata">

**Author:** ![johano](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/johano/32/1053_2.png) [@johano](https://discourse.joplinapp.org/u/johano)\
**Post date:** [28 January 2021 21:50 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/5 "2021-01-28T21:50:58Z")

</div>

Alt+L set as shortcut. But I gave both Ctrl+M and Ctrl+Shift+M a go, and they are good here.

Using: Joplin 1.7.9 (prod, linux)

The editor must have the focus, when you use the context menu you've already clicked the editor, but I've found if I switch from the rendered view, the shortcut will not work unless I click inside the note to focus it (and that's not a problem for me). I'm guessing you have something else going on, but thought to mention it just in case.

---

<div class="post-metadata">

**Author:** ![jb261](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/jb261/32/7324_2.png) [@jb261](https://discourse.joplinapp.org/u/jb261)\
**Post date:** [28 January 2021 22:14 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/6 "2021-01-28T22:14:14Z")

</div>

> [@ambrt](#):
>
> One thing i noted is that keyboard shortcut won't work if sidebar or note list is selected.  
> So basically it works only when editor is focused.  
> Is that the reason in your setup?

> [@johano](#):
>
> The editor must have the focus

Yep, that was it, thanks. Once focus is in the editor, shortcut works.

Great little plugin by the way. Further streamlines working in Joplin.

---

<div class="post-metadata">

**Author:** ![artdupengyun](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/artdupengyun/32/10624_2.png) [@artdupengyun](https://discourse.joplinapp.org/u/artdupengyun)\
**Post date:** [29 September 2021 08:10 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/7 "2021-09-29T08:10:20Z")

</div>

Hello, I like your plug-in very much. Excuse me, can this plug-in support copying links from notes to HTML? (I tried to paste directly into any part of the HTML, but failed)

Because I want the link of the note to become a part of HTML, just like the link picture in HTML '\< img width = "20" height = "20" src = ": / 0a59a8315f1148fc9333d11badde2336" / \>' so as to change its style.

Or is there any way to reference links to notes in HTML format? thank.

---

<div class="post-metadata">

**Author:** ![franzperdido](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/franzperdido/32/2980_2.png) [@franzperdido](https://discourse.joplinapp.org/u/franzperdido)\
**Post date:** [16 January 2022 10:53 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/8 "2022-01-16T10:53:48Z")

</div>

Hey,  
I really like this plugin, however it stopped working for me. Currently on Joplin 2.6.10 (prod, linux)

---

<div class="post-metadata">

**Author:** ![sepremento](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/sepremento/32/13413_2.png) [@sepremento](https://discourse.joplinapp.org/u/sepremento)\
**Post date:** [27 June 2022 17:32 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/9 "2022-06-27T17:32:21Z")

</div>

same thing here, plugin stopped working, currently using Joplin 2.8.8  
does anyone have a solution?

---

<div class="post-metadata">

**Author:** ![sepremento](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/sepremento/32/13413_2.png) [@sepremento](https://discourse.joplinapp.org/u/sepremento)\
**Post date:** [28 December 2022 05:11 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/10 "2022-12-28T05:11:57Z")

</div>

I've looked inside the plugin [code](https://github.com/ambrt/joplin-plugin-get-link-to-note/blob/master/src/index.ts) and couldn't find anything that might cause the problem. Please someone tell me what is wrong here? This feature would be very useful if worked. I'm on Ubuntu 20.04, Joplin version now is 2.9.17

---

<div class="post-metadata">

**Author:** ![sepremento](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/sepremento/32/13413_2.png) [@sepremento](https://discourse.joplinapp.org/u/sepremento)\
**Post date:** [6 April 2023 03:29 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/11 "2023-04-06T03:29:57Z")

</div>

I've made [one tiny change](https://github.com/ambrt/joplin-plugin-get-link-to-note/pull/2) in @ambrt code and the plugin seems to be working for me now. Was I right about the change?

---

<div class="post-metadata">

**Author:** ![s4j4](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@s4j4](https://discourse.joplinapp.org/u/s4j4)\
**Post date:** [15 April 2023 03:29 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/12 "2023-04-15T03:29:56Z")

</div>

This plugin does not work in the latest version, can it be fixed? thank you

---

<div class="post-metadata">

**Author:** ![candrak](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/candrak/32/30258_2.png) [@candrak](https://discourse.joplinapp.org/u/candrak)\
**Post date:** [24 November 2023 09:15 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/13 "2023-11-24T09:15:53Z")

</div>

Is a plugin still required to copy a markdown link to the active note?

> [@Copy Markdown link to active note](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/2):
>
> This is great, although I almost think this should be part of Joplin core. Not sure why a shortcut was never added for this.

I agree with this earlier suggestion. Though I'd include a similar keyboard shortcut also for copying an external link to the active note.

---

<div class="post-metadata">

**Author:** ![Mazinger](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@Mazinger](https://discourse.joplinapp.org/u/Mazinger)\
**Post date:** [18 December 2023 19:24 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/14 "2023-12-18T19:24:20Z")

</div>

Not working on version 2.13.9 ☹

---

<div class="post-metadata">

**Author:** ![executed](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/executed/32/24298_2.png) [@executed](https://discourse.joplinapp.org/u/executed)\
**Post date:** [4 September 2024 16:25 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/15 "2024-09-04T16:25:14Z")

</div>

is there any way you could create a fork of the plugin with that change for us?

---

<div class="post-metadata">

**Author:** ![executed](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/executed/32/24298_2.png) [@executed](https://discourse.joplinapp.org/u/executed)\
**Post date:** [5 September 2024 00:59 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/16 "2024-09-05T00:59:25Z")

</div>

I found the shortcut that works without plugin!!  
Bad news you'll need get used to it 😁  
On Windows xP it's:  
CTRL + Shift + L (L=Note List);  
followed by Fn + Right CTRL (it has options or right-click button icon);  
followed by going down the list until "Copy Markdown Link".  
Then press ENTER!!

---

<div class="post-metadata">

**Author:** ![executed](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/executed/32/24298_2.png) [@executed](https://discourse.joplinapp.org/u/executed)\
**Post date:** [5 September 2024 01:02 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-to-active-note/14402/17 "2024-09-05T01:02:47Z")

</div>

I found this thread that talks about alternative

> [@Quick Links Plugin](https://discourse.joplinapp.org/t/quick-links-plugin/14214):
>
> Create links to notes by typing @@ and selecting from a popup window. Based on the same idea as [Plugin: inline tags - #3 by uxamanda](https://discourse.joplinapp.org/t/plugin-inline-tags/14192/3) Shows 10 most recently updated notes initially, then as you type it uses the text to find notes with matching title. Still a bit rough (e.g. will offer to create a link to the note being edited), just trying to see if there's any interest in developing this further. The plugin requires Joplin 1.7.x UPD Forgot the link:
