Auto-link to subheadings anywhere in the Obsidian vault
Canonical version: Auto-link to subheadings anywhere in the Obsidian vault.
Here's a tiny Obsidian tip. Everyone knows **text searches note titles, and [[#text searches headings in the CURRENT note. The lesser-known third form: [[##text searches headings across the ENTIRE vault and builds the full [[Note#Heading** link for you.
No more finding the right note first, hitting tab, then typing the heading. One extra #, and Obsidian does the lookup vault-wide.
Bonus tricks from the same thread:
- Prefix any of these links with
!to EMBED the section instead of linking to it (Transclusion at the section level). **^^textdoes the same vault-wide search for blocks ([[Block references**).- The Copy Block Link community plugin adds a right-click option to copy a heading's embed link directly.
Handy detail for daily notes: with identical headings across many notes (like my recurring sections), **## lets you scroll through every occurrence and pick the right day.
References
- Reddit: PSA - Auto-link to subheadings anywhere in your vault: https://www.reddit.com/r/ObsidianMD/comments/1v6p9cp/psa_autolink_to_subheadings_anywhere_in_your_vault/
Related
- [[Block references**
- Transclusion
- Obsidian
About Sébastien
Ready to get to the next level?
Found this valuable? Share it with someone who needs it.