You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would it be possible to load the title of Zettels from the Yaml header?
So far, I only read the files once to extract links to other files. All of this happens in _extract_valid_referenceshere. You can copy that function and analyse the header, instead of looking for the references to other Zettel.
It's not super clean though, as we would read the files twice. In the context of #35 I'm working on function that loads the file content into the graph, so that we can do arbitrary things with the content. If you're willing to wait a bit for this change, it might make things easier for you.
Also, I am using the .rmd extension. How would it be possible to specify the .rmd filetype instead of .txt or .md?
You would need to extend this line here to read "*[.md|.txt|.rmd]".
@yetipowers I've merged #35. You can see in the code how I access the file content, this could help you with extracting the title from the YAML header.
Dear Mr. Basil,
How would it be possible to load the title of Zettels from the Yaml header?
Suppose, all notes start with a $filename like so (%Y%m%d%H%M).rmd, e.g. "202112132135.rmd". Each of these include a standard YAML header like so:
Suppose, I would like to display the title for this Zettel in the Graph. Or, even better, just concatenate the title to the ID (%Y%m%d%H%M).rmd
Do you think, there would be any possibility for achieving this with vizel?
Also, I am using the .rmd extension. How would it be possible to specify the .rmd filetype instead of .txt or .md?
Kind regards :)
The text was updated successfully, but these errors were encountered: