# Copy markdown link header

**URL:** <https://discourse.joplinapp.org/t/copy-markdown-link-header/6767>\
**Category:** Features\
**Created:** [9 March 2020 16:17 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-header/6767 "2020-03-09T16:17:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierre\_peterlongo](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/pierre_peterlongo/32/2775_2.png) [@pierre\_peterlongo](https://discourse.joplinapp.org/u/pierre_peterlongo)\
**Post date:** [9 March 2020 16:17 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-header/6767/1 "2020-03-09T16:17:09Z")

</div>

Hello all, and thanks a lot for your amazing work.

I come from “bear” to joplin, and a feature is really missing. I found no way (and no feature request) to automatically copy the markdown link header (instead of a link to a whole note).

For now I edit links by hands but this is not really convenient. With bear it is possible to right-click a header and to “Copy link to here”.

Thanks again anyway!  
Pierre

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [9 March 2020 16:31 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-header/6767/2 "2020-03-09T16:31:56Z")

</div>

If you right-click on a note in the list of notes, you have an option “Copy Markdown link”, is that what you mean?

---

<div class="post-metadata">

**Author:** ![CalebJohn](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/calebjohn/32/356_2.png) [@CalebJohn](https://discourse.joplinapp.org/u/CalebJohn)\
**Post date:** [9 March 2020 16:54 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-header/6767/3 "2020-03-09T16:54:39Z")

</div>

I think this is asking about an anchor link next to each header. For example the user might have

```auto
# header

```

And clicking on it should copy

```markdown
[Some document - header](:/hehdjshdbegye#header)

```

---

<div class="post-metadata">

**Author:** ![pierre\_peterlongo](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/pierre_peterlongo/32/2775_2.png) [@pierre\_peterlongo](https://discourse.joplinapp.org/u/pierre_peterlongo)\
**Post date:** [9 March 2020 16:55 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-header/6767/4 "2020-03-09T16:55:53Z")

</div>

Wow thanks for your quick answer.  
Yep @CalebJohn, I meant exactly this feature.

Pierre

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [9 March 2020 17:31 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-header/6767/5 "2020-03-09T17:31:58Z")

</div>

Ok I see what you mean, and indeed this is not supported.

We don’t have any dynamic context menu like this in the editor, that would allow copying different things based on the context. But I guess it could be added to the viewer itself, a bit like we add a special context menu for images.

---

<div class="post-metadata">

**Author:** ![pierre\_peterlongo](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/pierre_peterlongo/32/2775_2.png) [@pierre\_peterlongo](https://discourse.joplinapp.org/u/pierre_peterlongo)\
**Post date:** [9 March 2020 21:23 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-header/6767/6 "2020-03-09T21:23:27Z")

</div>

> [@laurent](#):
>
> I guess it could be added to the viewer itself, a bit like we add a special context menu for images.

That would be great, do you think it might be feasible?

---

<div class="post-metadata">

**Author:** ![silopolis](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/silopolis/32/18745_2.png) [@silopolis](https://discourse.joplinapp.org/u/silopolis)\
**Post date:** [8 December 2023 17:58 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-header/6767/7 "2023-12-08T17:58:03Z")

</div>

I think the following plugins may answer this request:

- [GitHub - hieuthi/joplin-plugin-copy-anchor-link: Add a link icon near each heading. Copy Joplin markdown link of the specific heading to clipboard when click on the icon.](https://github.com/hieuthi/joplin-plugin-copy-anchor-link)
- [GitHub - ylc395/joplin-plugin-note-link-system: A complete Link System for Joplin. Referrer(aka. backlink), Quick Link, Copy Anchor, Hover To Preview, and much more feature](https://github.com/ylc395/joplin-plugin-note-link-system)

Hope this helps

---

<div class="post-metadata">

**Author:** ![pierre\_peterlongo](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/pierre_peterlongo/32/2775_2.png) [@pierre\_peterlongo](https://discourse.joplinapp.org/u/pierre_peterlongo)\
**Post date:** [11 December 2023 09:46 UTC](https://discourse.joplinapp.org/t/copy-markdown-link-header/6767/8 "2023-12-11T09:46:13Z")

</div>

This helps!

Thanks
