# Allow \[\[links\]\] to folders

**URL:** <https://forum.obsidian.md/t/allow-links-to-folders/874>\
**Category:** Feature requests\
**Tags:** valuable\
**Created:** [May 31, 2020, 4:34pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874 "2020-05-31T16:34:50Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![thwright](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@thwright](https://forum.obsidian.md/u/thwright)\
**Post date:** [April 9, 2022, 5:37pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/21 "2022-04-09T17:37:14Z")

</div>

Similar functionality exists in [wiki.vim](https://github.com/lervag/wiki.vim).

---

<div class="post-metadata">

**Author:** ![Seri](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/22d042/32.png) [@Seri](https://forum.obsidian.md/u/Seri)\
**Post date:** [April 9, 2022, 9:29pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/22 "2022-04-09T21:29:42Z")

</div>

+1

This would be a useful feature.

---

<div class="post-metadata">

**Author:** ![tmfelwu](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/t/e19adc/32.png) [@tmfelwu](https://forum.obsidian.md/u/tmfelwu)\
**Post date:** [April 16, 2022, 5:28pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/23 "2022-04-16T17:28:02Z")

</div>

+1 for this feature

---

<div class="post-metadata">

**Author:** ![Phineas](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/p/bc8723/32.png) [@Phineas](https://forum.obsidian.md/u/Phineas)\
**Post date:** [April 18, 2022, 4:01am UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/24 "2022-04-18T04:01:53Z")

</div>

+1 for this feature as core.

The folder-note add-on is not a bad workaround but doesn’t offer anywhere near the same functionality.

I would suggest more: Make it so that folders can double as notes. Ie. Contain text, be linked to, yet still act as folders. This is an outstanding feature of Notion. Although not strictly in the spirit of zettelkasten, it affords incredible flexibility for sorting and filing notes, so powerful.

---

<div class="post-metadata">

**Author:** ![pshev](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/p/5f9b8f/32.png) [@pshev](https://forum.obsidian.md/u/pshev)\
**Post date:** [April 18, 2022, 12:47pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/25 "2022-04-18T12:47:07Z")

</div>

I think it is important to remember that the intent of Obsidian is that you have your notes locally and they are in a form that is hoped to be future proof. What we have is a file system hierarchy of plain text notes. Obsidian provides a way to view/edit and add functionality/meaning to the plain text notes.

I think linking to folders Ia a common file system paradigm and I find it missing and should be supported. And the File Explorer should allow me to select a folder when I do a ctl-O. I thinl that the folder notes plugin is the right solution for doing more. In the file system you can create a note with the same name as a folder. The folder notes plugin adds a convention and GUI paradigm as to how to treat these notes.

Lets separate presentation from the storage model.

---

<div class="post-metadata">

**Author:** ![Mat\_35](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/b3f665/32.png) [@Mat\_35](https://forum.obsidian.md/u/Mat_35)\
**Post date:** [April 22, 2022, 8:12am UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/26 "2022-04-22T08:12:34Z")

</div>

+1  
I need it

---

<div class="post-metadata">

**Author:** ![concentration](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/c/ecae2f/32.png) [@concentration](https://forum.obsidian.md/u/concentration)\
**Post date:** [May 10, 2022, 12:32am UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/27 "2022-05-10T00:32:35Z")

</div>

+1

Came here looking for this.

---

<div class="post-metadata">

**Author:** ![Synchronicity](https://forum.obsidian.md/user_avatar/forum.obsidian.md/synchronicity/32/23011_2.png) [@Synchronicity](https://forum.obsidian.md/u/Synchronicity)\
**Post date:** [July 8, 2022, 8:09pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/28 "2022-07-08T20:09:21Z")

</div>

> A link to a folder should expose the folder in the Explorer.

A year later, I’d still like to see this happen. A link to a folder could have a slightly different syntax, similar to ![[ for transclusions, but with another character in place of the exclamation point. Then the dropdown menu as you begin typing the name would show _only_ folders, just as [[ and ![[ show only files.

cc: @ryanjamurphy

---

<div class="post-metadata">

**Author:** ![obsequious](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/4af34b/32.png) [@obsequious](https://forum.obsidian.md/u/obsequious)\
**Post date:** [July 9, 2022, 4:45am UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/29 "2022-07-09T04:45:17Z")

</div>

> [@Synchronicity](#):
>
> with another character in place of the exclamation point

I’d prefer not to introduce yet more syntax. It’s getting hard to remember these Markdown syntax extensions.

How about if you wanted to autocomplete only on folder names you typed `[[` and then `/` signaling to Obsidian you want only folders.

---

<div class="post-metadata">

**Author:** ![Synchronicity](https://forum.obsidian.md/user_avatar/forum.obsidian.md/synchronicity/32/23011_2.png) [@Synchronicity](https://forum.obsidian.md/u/Synchronicity)\
**Post date:** [July 9, 2022, 7:36pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/30 "2022-07-09T19:36:34Z")

</div>

Well, for one thing the use of ! for transclusions creates a precedent for it. And your suggestion would also be adding another character, just after [[ instead of before, and would also be additional syntax to remember. And it would be less precedented than putting a character before the [[.

---

<div class="post-metadata">

**Author:** ![obsequious](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/o/4af34b/32.png) [@obsequious](https://forum.obsidian.md/u/obsequious)\
**Post date:** [July 9, 2022, 7:49pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/31 "2022-07-09T19:49:15Z")

</div>

> [@Synchronicity](#):
>
> your suggestion would also be adding another character

Not quite the same. It’s a character that filters the search. It doesn’t show up in the end text. So someone who reads it wouldn’t have to interpret it.  
Now, maybe you do want to make it clear in the link text that you’re pointing to a folder. in that case, you can follow Unix (or URL) convention and add a `/` to the end of the link text. So now, when you read it, it’s clear the link is to a folder. And note that the `/` character is the same. Much easier to remember.

---

<div class="post-metadata">

**Author:** ![Synchronicity](https://forum.obsidian.md/user_avatar/forum.obsidian.md/synchronicity/32/23011_2.png) [@Synchronicity](https://forum.obsidian.md/u/Synchronicity)\
**Post date:** [July 9, 2022, 8:47pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/32 "2022-07-09T20:47:15Z")

</div>

I’d still find it more elegant if adding ! before [[ indicates a transclusion and adding a different character indicates a folder, and I don’t think it would be hard to remember at all.

I’d also prefer it because the syntax would make it clear up front that it’s a folder link, rather than burying an indicator at the end, where it would look like the easy-to-ignore slash at the end of a URL.

But I think we’ve both made our cases well enough for the devs to choose one of them—or another approach entirely—if they do decide to implement the feature.

---

<div class="post-metadata">

**Author:** ![graceXemplified](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/g/977dab/32.png) [@graceXemplified](https://forum.obsidian.md/u/graceXemplified)\
**Post date:** [August 24, 2022, 1:43am UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/33 "2022-08-24T01:43:00Z")

</div>

I am looking for the same functionality. I havent found on as simple as an internal wikilink. However, I did install the Vantage plugin. It allows you to insert into a search based on more complex terms.

In doing do so the only term I entered was the path to a file and it inserted every file in that folder and all sub folders.

 ![Screenshot_20220823-203819_Samsung Internet](https://forum.obsidian.md/uploads/default/original/3X/4/9/494893c85c3610a4dbf2a7955ce5d1d3033b52d0.png)  
 ![Screenshot_20220823-203854_Obsidian](https://forum.obsidian.md/uploads/default/original/3X/4/a/4ab3cc21bb364eb04c5d1003cf25ea7993e9ad39.png)

Not exactly what you or I were looking for but it gives me a workaround that will do for now.

---

<div class="post-metadata">

**Author:** ![miguelmarcos](https://forum.obsidian.md/user_avatar/forum.obsidian.md/miguelmarcos/32/80_2.png) [@miguelmarcos](https://forum.obsidian.md/u/miguelmarcos)\
**Post date:** [September 7, 2022, 12:06pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/34 "2022-09-07T12:06:09Z")

</div>

I believe this fails if the path contains a space.

---

<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:** [September 7, 2022, 12:09pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/35 "2022-09-07T12:09:54Z")

</div>

I think you can escape spaces in paths (`\ `), but I haven’t tried it.

---

<div class="post-metadata">

**Author:** ![malecjan](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@malecjan](https://forum.obsidian.md/u/malecjan)\
**Post date:** [September 14, 2022, 8:41am UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/36 "2022-09-14T08:41:08Z")

</div>

@miguelmarcos To deal with spaces in links (to folders or files), read posts in bug report: [Space in link to file](https://forum.obsidian.md/t/space-in-link-to-file/8169)

It is pain when you have to deal with spaces and other characters in markdown links but it is usually possible to formulate working link. Sometimes at the cost of other properties as discussed in:

- [Code enclosed in backticks does not preserve double/consecutive spaces](https://forum.obsidian.md/t/code-enclosed-in-backticks-does-not-preserve-double-consecutive-spaces/9806)
- [How to both store and render raw path in functional link](https://forum.obsidian.md/t/how-to-both-store-and-render-raw-path-in-functional-link/9043)

---

<div class="post-metadata">

**Author:** ![untitled](https://forum.obsidian.md/user_avatar/forum.obsidian.md/untitled/32/97098_2.png) [@untitled](https://forum.obsidian.md/u/untitled)\
**Post date:** [September 21, 2022, 1:53am UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/37 "2022-09-21T01:53:37Z")

</div>

I also miss this feature in Obsidian.

+1 for this feature.

---

<div class="post-metadata">

**Author:** ![den](https://forum.obsidian.md/user_avatar/forum.obsidian.md/den/32/1932_2.png) [@den](https://forum.obsidian.md/u/den)\
**Post date:** [September 23, 2020, 3:10pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/38 "2020-09-23T15:10:24Z")

</div>

When backlinking folder with `!` formatting, the content of the folder should be shown as collection of files in backlink formatting.

**Illustration**

![Shared with Zight](https://p22.f4.n0.cdn.zight.com/items/6quPmLel/Image%202020-09-23%20at%209.31.02%20PM.png?source=social&v=40433e8073a26baf679308cbddbc311c)

Relevant to feature request:

> [@Allow \[\[links\]\] to folders](https://forum.obsidian.md/t/allow-links-to-folders/874):
>
> I don’t think this has been explicitly requested previously. Similar posts exist [here](https://forum.obsidian.md//t/use-linkable-notes-rather-than-folders/196) and [here](https://forum.obsidian.md//t/linking-notes-to-folders/715), but I don’t think they’re the same as this request. I’ll try to make it simple: if a folder exists in the vault, you should be able to backlink to it—like [[Folder]]. This would make it easier to interlace folder-and-note setups for those of us using them. It’s also in line with how [DEVONthink](https://devontechnologies.com) interprets [[wikilinks]]—not sure about other wikilink-supporting apps. Another twist on this idea: ![[Fol…

---

<div class="post-metadata">

**Author:** ![sparshy](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/s/53a042/32.png) [@sparshy](https://forum.obsidian.md/u/sparshy)\
**Post date:** [September 22, 2022, 5:35am UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/39 "2022-09-22T05:35:00Z")

</div>

“links as first class citizens”, this will be really helpful

---

<div class="post-metadata">

**Author:** ![cwhiii](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cwhiii/32/23960_2.png) [@cwhiii](https://forum.obsidian.md/u/cwhiii)\
**Post date:** [September 24, 2022, 10:19pm UTC](https://forum.obsidian.md/t/allow-links-to-folders/874/40 "2022-09-24T22:19:12Z")

</div>

+1 from me. This’d open up all kinds of potential organizational methods that are currently very clunky to implement.

EDIT:

I imagine the ideal scenario would have two options, just like creating backlinks:

1. Clicking **[[someFolderPath]]** The command _Files: Reveal current file in navigation_ does exactly what I would picture this function doing: jumping to the folder’s location & strobing a highlight color.

2. The alternative, **![[someFolderPath]]** could write out a list of all the files and folders in the given folder. Perhaps, if we wanted to get really fancy it could have a few pipe options such as **![[someFolderPath|files]]** to display only files, **![[someFolderPath|folders]]** to display only the folders, or without a pipe option, which would display both files & folders.

[Previous page](https://forum.obsidian.md/t/allow-links-to-folders/874.md?page=1)

[Next page](https://forum.obsidian.md/t/allow-links-to-folders/874.md?page=3)
