excalibrain icon indicating copy to clipboard operation
excalibrain copied to clipboard

HELP: Can I use the file first level 1 header as node name display ?

Open lyndhurst opened this issue 1 year ago • 0 comments

Hi,

I use the UUID file naming strategy as many zettelkasten users do judging by this thread. For the note title, I use the first level 1 header instead of a yaml title key, so I do not have to rely on some sync plugin when changing the note's title (i.e. first header).

I found the issue #47 before opening this one, and played around with the DataviewAPI function described in the settings. I can retrieve values from the frontmatter easily, but not first header value unfortunately.

Is there a way to display the yaml title key if it exists, else, the first level 1 header, else the filename as the node name ? For most other title display issue, I use this plugin; maybe there is a way to integrate it with excalibrain...

Thanks for your time and this incredibly (potentially) useful plugin.

PS: I included the title key in my question even though I'd rather not use it because it is a common way of organizing zettelkasten notes, so I figured it would make this issue useful to more people.

lyndhurst avatar Apr 03 '23 08:04 lyndhurst