-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting YAML frontmatters for metadata #1
Comments
Hi! is the last task something that is still planned to be added? I am looking for the ability to use custom YAML keys for my own notes and have zk be able to search through for them. |
I didn't plan to implement it yet but that could be interesting. Could you give me an example of frontmatter and how you would like to use it from the CLI? |
title: week 1
|
Would something like this work?
For this, do you mean that |
Yes to both! Some of my notes are for classes, some of my notes are for work, so they don't always share the same metadata fields. I want to search based on a metadata field as a way to "categorize" my notes |
Hi, |
I don't have the bandwidth to work on However if someone wants to contribute this particular feature, I'd be happy to help navigate the codebase and review a PR. |
Thanks for maintaining the application even though you are lacking the time, please keep it alive ! For now I manage to do my filtering with the regex match strategy. I have spent months migrating my notes to Anyway I do plan to try and get familiar with the code base for other aspects like fzf searches and actions, so when I do, and if I feel capable, I will keep your offer to review / help with a PR in mind. Thanks again for your time and effort 👍 |
#446 was a duplicate of this issue as it was mentioned first here. It's not implemented at the moment. |
@gwicho38 That would be awesome! I have frontmatter fields ready to be served up! |
Sweet. May take you up on that. Cheers! |
Created an issue in my 'zk' fork since I don't think I can assign it directly from here. |
assign what? This isse on zk-org/zk would be the place to discuss. And you can reference this issue in your PR. |
Many Zettelkasten use a YAML frontmatter to provide note metadata, e.g.:
zk
only supportstitle
, we should support the rest as well:date
for the creation datekeywords
andtags
for tagsNeuron also supports
unlisted: true
which could be interesting to disable indexing of particular notes.The text was updated successfully, but these errors were encountered: