+1
please)
+1 on this. I make use of .folders and .files all the time, I get the need to not show the .obsidian folder in the vault, but that could easily be made as a non-removable default exclusion.
Chiming here, terribly belated, not to add a +1 (although I wish this feature existed and not sure why it goes against standard convention however thatâs neither here nor there), but to provide a solution.
Iâm aware there is a plugin that can achieve this hiding, yet I believe this to be absurdly overkill to remove a folder from a filetree. So⌠I came up with a simplistic CSS snippet to achive this.
.nav-folder-title[data-path="3. Resources/Scripts"],
.nav-folder-title[data-path="3. Resources/Templates"] {
display: none;
}
This hide itâs from the filetree, and given my Scripts
folder only contains .js files theyâre not searchable anyway, but in the case of templates I am still able to search my those files and alter them in Obsidian should I wish. Although I have hidden from
Some people suggest turning on âDetect all file extensionsâ, and then adding a plugin called obsidian-vscode-editor
, however I donât consider Obsidian a code editor⌠this is what VSCodeâor nvimâis for!
I hope this provides someone in the future a glimmer of hope until we can get a technical explanation as to why dot files/folders are not allowed, and/or the feature is enabled. Youâre welcome in advance!
Hidden files are not the only reason to allow files that start with a dot. For example, I want to create a note for â.NETâ related topics.
Workaround: I had to use a ââ¤â (0x2024) instead of the standard â.â (0x002e) to allow this. Fortunately, this special character still shows up in search results when searching by the standard dot, so thatâs good, but I imagine renaming these files later when support is added, may be tedious.
On a side note, Iâve just started trying Obsidian because I love the aesthetic and fuller feature set, but in Logseq, which isnât even out of Alpha yet, this just works.
+1 for this
+1 on this thing
+1 for this
+1
+1. muuuuch needed.
How is this still a problem? It should be straightforward to add the option to stop ignoring these files.
For me, I wanted a quick and easy way to link to my .gitignore
because it sometimes needs to be updated, but not does it fail to show up when âDetect all file extensionsâ is enabled, but Obsidian creates a Markdown file (.gitignore.md
), then refuses to acknowledge it exists, but errors that the file already exists. Even when converting this to a standard link instead of the Wiki-style ones, it will not let me link to a dotfile.
(Using file:///
linkes is unacceptable, because the link should work from any Markdown processor on any system instead of being tied to an absolute file path.)
My temporary workaround is to create a shell script to open the file and link to that.
Apparently 10 minutes is so long ago that I couldnât possibly need to edit my reply.
I really need this. Images look clumsy in my folders.
any news from devs? can we get this on the next update?
The same problems here:
- required a possibility to attach files without extension or dot file, i.e. files with names starting with dot
- required a possibility to name notes and folders with name starting with dot
- required a possibility to view attachments without extension or dot files (now I get an unexpected behavior - obsidian creates a new page, i.e. new file with .md extension)
Canât really see objective limitations that prevent this from being allowed and implemented.
Same here, took a while to understand the problem. Hidden folders for assets is usefull, should be a valid option for configuration
/* hide path's with __before and ending with__ */
.nav-folder-title[data-path^="__"][data-path$="__"] {
display: none;
}
This one works better
Thanks! Thatâs a great idea.
But since it might have multiple classes, this would work better.
/* hide path's with __before and ending with__ */
[class~="nav-folder-title"][data-path^="__"][data-path$="__"] {
display: none;
}
This, unfortunately, does not address my use case, which is to make individual files invisible, but still referenceable.
I currently have a Hazel rule that notices when I drop a PDF into Obsidian and it automatically creates a markdown file with the same name and some frontmatter that gets extracted from the PDF, along with an ![[the-pdf-file.pdf]]
to render the contents of the PDF into my Markdown. This works wonderfully to add the ability to put metadata on my PDFs within Obsidian.
It would just be so nice to make the PDF itself invisible, so I donât see everything twice in my file explorer.
I am a new Obsidian user. One of the first things I tried to do with Obsidian was to put pasted images into .attachments
. I was surprised that this doesnât work currently. +1 from me.