Use H1 or YAML property "title" instead of or in addition to filename as display name

The latest version of the Embedded Note Titles plugin allows you display the front-matter title as a H1 at the top of the page. Though it requires obsidian 0.13.8, which is currently an insider’s release.

Quick Switcher++ might allow you to search these.

I am new to the Obsidian app, but I agree that showing Markdown headers alongside file names could be genuinely helpful. Especially in the Zettelkasten workflows.

Thanks to the former posts I found file-explorer-markdown-titles quite handy, and I modified it a bit to show both MD header (essentially, the first one in the document) aside with filename in the file explorer. And this is a preview (the detected header on the left, while the file name on the right, dimmed & italic).

The plugin is just a straightforward demo now. Since it is just about rendering the title, it will not affect document contents and could work well with other plugins. Open to any kind of comments & suggestions!

Here is the link to this tiny project obsidian-md-title-sidecar. I have not figured out how to upload it to the marketplace, so it could only be downloaded via Github Release and installed manually. I will do it when I got more time😌

5 Likes

Thanks for the plugin. Unfortunately my Obsidian refuses to load the plugin after restarting.

1 Like

изображение
Hey! Thank you for the plugin! Is it possible to remove indents in the name if the name of the file is long?

1 Like

Is it possible to make the title display in the search bar? (The search for the file name is displayed)

Are there any promotion on this request?

1 Like

You can use this plugin GitHub - darlal/obsidian-switcher-plus: Enhanced Quick Switcher plugin for Obsidian.md

Just open its search window, type # and then the title. It will only search in the first heading level of notes.

1 Like

Yes, I am actively using it! Great plugin. But there are problems with the search for the contained note

I’m glad to find this great plugin may solve this requirement!!! Snezhig/obsidian-meta-title-filename (github.com)

3 Likes

Yeah!! at last we have the ability to use boring filenames (who said YYYYMMDDHHMM for Zettel IDs?) within our Obsidian graphs and file explorer!!!

Kudos to Snezhig !!! :clap: :clap: :clap:

+1

using the graph view with zettelkasten notes is challenging without this

Looks like a useful plugin!

It would be nice to have the plugin / Obsidian core check the H1 heading though. I don’t want to create extra YAML front matter if I can avoid it.

Thanks sam for creating this feature request!

I am curious about your suggestion though. If I have proper Zettelkasten IDs then they are already unique right? Can you elaborate please?

For my use-case, I have an existing Zettelkasten that I want to port to Obsidian. My Zettelkasten IDs are of the form YYYY-MM-DD-hhmmss with file names like YYYY-MM-DD-hhmmss.md.

This allows me to easily refer to notes from outside my Zettelkasten system like my TODO list manager, my Bullet Journal etc.

The most difficult part is autocomplete for wikilinks / internal links. Right now I have a simple python autokey (TextExpander like software) script that takes a title as input and spits out:

Note Title [[Zettelkasten ID]]

as output wherever my cursor is at.

I am not sure how big of a system this script can scale to. It would be nice for Obsidian to offer autocomplete wikilinks by searching H1 titles and not just the file names.

It sounds like you would want to convert those to [[Zettelkasten ID|Note Title]].

This would allow you to use the note title as your display text for the link.

That’s a neat idea.

I have debated with myself over this, but in the end my requirements for portability stopped me:

  1. I am not sure if the wikilinks alias syntax is portable. Seems like Zettlr doesn’t support them.
  2. I want the source Markdown “look good” / be readable by itself too, in case the software I am using doesn’t have a nice live preview mode (like Obsidian has).

But I am not fully convinced with my own arguments :frowning: I am kind of new to the networked note taking space, and have already had to switch 3 tools because of various deal breaking issues I encountered with them - and hence my emphasis on portability.

@Holden Thanks for the plugin. But why did you disable the Issues tab Pull requests · hodlen/obsidian-md-title-sidecar · GitHub ?

Can it read from the frontmatter title property and not just the first H1? Perhaps an option.

Also I suggest removing the -md from the Github project name. It’s just not conventional.

would also be useful if you’ve just arrived from evernote-land via an abalasko yarle conversion, then the option use the first h1 (which yarle adds to the top of the note and contains the evernote note title) is intuitive.

then presumably the ability to easily identify and edit the physical file name. dunno - maybe hover-show or append the filesystem name to the logical note title in file tree.

i personally like this suggestion because the evernote note titles were long-ish and descriptive and i find long and complex filenames visually offensive. b/c the evernote note titles contained a number of illegal characters wrt allowable windows filenames the yarle conversion also created some ugly filenames, in addition to being long.

but also i had an experience in the past with a different filesystem-based personal knowledge-base setup in which a restore from backup after ssd corruption resulted in plenty of headaches because getting a backup back into a (different) windows filesystem in a restore situation contains some surprises for noobs when the backed-up filesystem paths were long. the fact that you can backup your windows filesystem doesn’t mean you can easily restore it. i’d like to keep my obsidian filenames and paths crisp.

1 Like

Much of the functionality described in this thread now works with plugins like Front Matter Title. However, the one missing piece is the ability to have the link text part of a Markdown URL: [Link Text](some-path.md) automatically updated when the title changes.

I am working on a plugin that supports this functionality, see: Title As Link Text plugin. I would appreciate some help testing it if anyone has time.

Please do not run it on your main Vault without a backup yet! I am new to Obsidian plugins (and Typescript) and expect many bugs.

I will submit it to Obsidian Community Plugins once I have tested it a bit more thoroughly.

Let me know what you think.

10 Likes

yes, plugin Front Matter Title should be in the Core…

but what about Obsidian Publish?
(i got here because now i need a similar plugin for the online published site!)

2 Likes

rcsaquino/obsidian-auto-filename: Auto Filename is an Obsidian.md plugin that automatically renames files in Obsidian based on the first x characters of the file, saving you time and effort. (github.com)
[[obsidian picgo-plugin-rename-file]]
自动文件名:根据文件内容自动重命名文件:ObsidianMD — Auto Filename: Automatically rename files based on the file content : ObsidianMD (reddit.com)