Back to articles
Automatically hide _assets folders in Obsidian (until you need them)

Automatically hide _assets folders in Obsidian (until you need them)

via Dev.toQwerty

This used to be you (and by you I mean me ) . Articles/ Some Guide/ _Some Guide.md Another take.png Final result.png How to do that.png How to do this.png ... Another Article/ _Another Article.md Screenshot 1.png Screenshot 2.png ... This is you with the Custom Attachment Location plugin. Articles/ > Article A_assets/ v Article B_assets/ file-1.png file-2.png ... > Article C_assets/ Article A.md Article B.md Article C.md It works, it keeps things tidy, but after a while the file explorer gets noisy anyway. So I looked around.. , and around.. , and found that it was pretty common wish on the Obsidian Forums, one such dated back to 2021. After digging around for a bit more I found a stupidly simple brute-force CSS snippet.... /* hide path's with __before and ending with__ */ .nav-folder-title [ data-path ^= "__" ][ data-path $ = "__" ] { display : none ; } 🤯🤯🤯🤯💡💡💡 and it hit me. This article is my take on this CSS-only "hack" that you can drop straight into Obsidian > Appearance > CSS sn

Continue reading on Dev.to

Opens in a new tab

Read Full Article
5 views

Related Articles