Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 1.7 KB

File metadata and controls

24 lines (16 loc) · 1.7 KB

Frontmatter Alias Display

A plugin for Obsidian.md to show front-matter aliases as display names in the File Explorer. Right now, it only supports the File Explorer but I'm planning to implement it in the Graph View as well.

demonstration

Why?

"Why even write the title in frontmatter in the first place?" Many people who are using Obsidian as a Zettelkasten system will immediately realize that it is kind of difficult to navigate the File Explorer when all you see are notes with arbitrary titles (e.g. 202303041748, aka ID) instead of a more informative title such as, say, the difference between .prototype and .constructor.

Those arbitrary titles, or more accurately, IDs, make for easy navigation and linking between notes, which is the core concept of the Zettelkasten method, while also ensuring that no two notes have the same ID.

So now we get to keep the note ID pure while also maintaining an informative title in frontmatter. When we link to another note, we can use Obsidian's helpful link alias by typing [[ID|Alias]] which will link to the note with the ID as its title, but display Alias as the link

using "[[ID|Alias]]"

Feedback

I would love to hear from you guys and get constructive criticism about ways to improve this plugin, especially feedback related to the implementation and usage of the API and TypeScript in general.

Warning

This is my first time developing a plugin and working with the Obsidian API. Test the plugin inside a dummy Vault beforehand. Use at your own discretion.

Todo

  • Expand functionality into the Graph View
  • Add a settings menu for customization and other options