# Triple brackets on Links

**URL:** <https://forum.obsidian.md/t/triple-brackets-on-links/8507>\
**Category:** Bug graveyard\
**Created:** [November 13, 2020, 1:00pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507 "2020-11-13T13:00:31Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jotapa](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@Jotapa](https://forum.obsidian.md/u/Jotapa)\
**Post date:** [November 13, 2020, 1:00pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/1 "2020-11-13T13:00:31Z")

</div>

My notes links randomly appear with triple brackets:

 ![image](https://forum.obsidian.md/uploads/default/original/2X/c/ce91ec99ac38895820424c7a20944f5e69d25478.png)

This creates links to non-existing notes and breaks the links to the real notes:  
 ![image](https://forum.obsidian.md/uploads/default/original/2X/9/934af17cbdb8eabbe88cab71f15d10affa138373.png)

The links were working earlier and I didn’t install or use any new Plugin, script or CSS. As far as I know there is no fixed pattern or specific set of notes impacted. The frequency is also random - was very common months ago, didn’t happen for a long time, but I had the problem again today.

Can it be a problem with 0.9.13 that I installed earlier today?

To fix this I have to search and replace manually sometimes dozens [[[by [[ and]]] by ]] but I have no guarantee that it won’t happen again.

Hope you can help.

Thanks!

### Environment

- Operating system: Macos upgraded to BigSur today but this happened in the past with other MacOS versions

- Obsidian version: 0.9.13

* * *

### Additional information

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [November 13, 2020, 3:33pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/2 "2020-11-13T15:33:27Z")

</div>

It’s possible that you entered those extra braketes your self without realizing it.  
If you have reproduceble steps that Obsidian entered those breakets, please let us know.

---

<div class="post-metadata">

**Author:** ![Jotapa](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@Jotapa](https://forum.obsidian.md/u/Jotapa)\
**Post date:** [November 14, 2020, 3:37pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/3 "2020-11-14T15:37:23Z")

</div>

Thanks for the quick reply WhiteNoise. Unfortunately that’s not the problem.

My vault has hundreds of research papers that I load into Obsidian and only edit to accept backlinks and add Tags at the end of the documents. On those documents, I never create the links to other notes manually with [[. It’s not possible that I could have typed [[[ by mistake.

I cannot reproduce the problem. Can’t detect a pattern - sequence of actions or use of a plugin, for example, before the problems appear.

Hope someone has an idea of what it can be.

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [November 14, 2020, 4:35pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/4 "2020-11-14T16:35:35Z")

</div>

Do you ever use the “add backlink” button from the backlinks pane?

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [November 14, 2020, 5:29pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/5 "2020-11-14T17:29:30Z")

</div>

Thanks. Let us know if you find a pattern.

---

<div class="post-metadata">

**Author:** ![Jotapa](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@Jotapa](https://forum.obsidian.md/u/Jotapa)\
**Post date:** [November 15, 2020, 6:49am UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/6 "2020-11-15T06:49:15Z")

</div>

Yes, I do. Could that be the problem generating the extra […] brackets?

---

<div class="post-metadata">

**Author:** ![Jotapa](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@Jotapa](https://forum.obsidian.md/u/Jotapa)\
**Post date:** [November 15, 2020, 2:07pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/7 "2020-11-15T14:07:49Z")

</div>

Just spotted the problem / pattern:

When a document includes a link to a Web page using the format:

[Note title]([https://www](https://www). …)

If a link is not created automatically and it is done accepting Backlink suggestions, Obsidian ignores the existing bracket [] and adds two more becoming [[[Note title]]].

Is it possible to add this extra validation to the Backlink process and prevent this from happening?

---

<div class="post-metadata">

**Author:** ![ryanjamurphy](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ryanjamurphy/32/334_2.png) [@ryanjamurphy](https://forum.obsidian.md/u/ryanjamurphy)\
**Post date:** [November 15, 2020, 3:59pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/8 "2020-11-15T15:59:51Z")

</div>

This is a relevant feature request: [Exclude backlink mentions in link markup from suggested backlinks](https://forum.obsidian.md/t/exclude-backlink-mentions-in-link-markup-from-suggested-backlinks/7092)

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [November 15, 2020, 5:17pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/9 "2020-11-15T17:17:34Z")

</div>

> [@Do not show X in Unlinked mentions / Avoid backlinks detection in tags, wikilinks and md links](https://forum.obsidian.md/t/do-not-show-x-in-unlinked-mentions/8599):
>
> This is a meta-post to group together several requests about automatically excluding (not showing or remove the possibility to link) some matches in the unlinked mentions section: Matches in external markdown links [xx match xx](https://url.com) Matches in URLs http://xx.com/match/xx Matches in tags Matches within code blocks and inline code (however, now codeblocks are also used to encapsulate text not just code, like admonition. It may make sense to search in these blocks) Matches in in…

---

<div class="post-metadata">

**Author:** ![Jotapa](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@Jotapa](https://forum.obsidian.md/u/Jotapa)\
**Post date:** [November 16, 2020, 5:51am UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/10 "2020-11-16T05:51:36Z")

</div>

Thanks for the heads up to that thread but the request looks different.

I don’t want the links excluded from backlinks. They should be on backlinks and when accepted only added one extra [] because the original text had one pair already. Meaning, ends up with [[…]] as it should.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [November 16, 2020, 6:22am UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/11 "2020-11-16T06:22:30Z")

</div>

no, the thread is relevant. You cannot have a wiklink within a markdown link.

This: `[[project]](http://...)`  
or `[[[project]] link ](http://www...)`  
is not possible

---

<div class="post-metadata">

**Author:** ![Jotapa](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@Jotapa](https://forum.obsidian.md/u/Jotapa)\
**Post date:** [November 16, 2020, 12:47pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/12 "2020-11-16T12:47:24Z")

</div>

The option:

[[project]](http: //…)

is totally viable and addresses a very good use case. Let me explain:

I copy Web Pages (relevant research papers and articles) and convert them to markdown using Typora, to save a copy on my vault. The Web Link text is then converted to a Wikilink [[…]] to reference other pages on the vault (research papers citations, for example). The (http://…) is not deleted or changed.

By clicking on [[project]] I can access my copy of the content on Obsidian, where I’ve added tags, written my comments and connected with other Obsidian notes.

Clicking on the second item (http://…) I am redirected to the original page on the Web. Often useful to download an updated version or to use some other functionality or other pages on the same web site.

This is not only possible but absolutely AMAZING for someone accessing and cross-referencing hundreds of research papers. This alone is well worth a subscription service payment.

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [November 16, 2020, 3:49pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/13 "2020-11-16T15:49:54Z")

</div>

I understood your workflow 2 posts ago. But unfortunately it’s not likely to be supported.  
Let me try to explain again.  
This is a type of link `[xx](address)`. This is another type of link `[[xx]]]`. Nesting or concatenating them is not a valid format and it won’t work well.

In your case, I suggest you to do this:  
`[[xx]] [xx website](http://address)`

or even

`[[xx]] http://address`

---

<div class="post-metadata">

**Author:** ![Jotapa](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/j/41988e/32.png) [@Jotapa](https://forum.obsidian.md/u/Jotapa)\
**Post date:** [November 17, 2020, 9:32am UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/14 "2020-11-17T09:32:07Z")

</div>

Got it!

Thank you for the effort of posting one more message to explain this. We need behaviours like that to have a great Obsidian community.

Now I understand that this doesn’t fit standards and I realise that the only solution is a custom script or plugin.

This is so impactful on my work (and I guess others copying web content to Obsidian) that there might be a custom solution available somewhere, or will be in the future… maybe I can write a Perl or Python script myself at a later time.

Thanks again!

---

<div class="post-metadata">

**Author:** ![WhiteNoise](https://forum.obsidian.md/user_avatar/forum.obsidian.md/whitenoise/32/11_2.png) [@WhiteNoise](https://forum.obsidian.md/u/WhiteNoise)\
**Post date:** [October 13, 2022, 4:13pm UTC](https://forum.obsidian.md/t/triple-brackets-on-links/8507/15 "2022-10-13T16:13:43Z")

</div>

Archived on October 13, 2022, 4:13pm UTC


