Breadcrumbs of index notes to file #172
nick-at-day
started this conversation in
Templates Showcase
Replies: 2 comments
-
This is so cool, thanks very useful |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New to JS and relatively new to Obsidian, but I recently put this together as my first bit of code and was excited for it. Let me know if anyone has some thoughts on better ways of accomplishing stuff like this in the future.
Intended usage is generating a series of breadcrumb links to index files at the top of a note, assuming an index file is named
00_'directory name'
and located in each directory above. If none exist, a hanging link is generated for future page creation.Also, my "systems" folders (i.e., templates folders, periodic notes, etc.) have a "000" prefix, so I included conditional logic to detial with that as well.
Beta Was this translation helpful? Give feedback.
All reactions