fix: zettel id uses formatted time, and title as suffix if provided #436
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix note_id_func to use title parameter and readable timestamps
What does the PR do?
Changes for zettel id when creating a new note, improving file naming:
Before:
:Obsidian new "My Note"
->1758908292-NZNT.md
After:
:Obsidian new "My Note"
->202509261930-my-note.md
Very happy to be corrected if the Unix timestamp and random letters is better, this just feels more intuitive as a default to me.
If the change isn't good then I would like to suggest adding the
note_id_func
override as a commented section in the install snippets.PR Checklist
CHANGELOG.md
is updatedREADME.md
filemake chores
(for style, lint, types, and tests)