-
Notifications
You must be signed in to change notification settings - Fork 199
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
Add :ObsidianNewFromTemplate
command
#621
Conversation
The goal is to be able to create a new note while using an existing template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks pretty good @malko42! Just a few minor comments
Thanks, you're too kind, I just hacked this together from existing functions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@malko42, sorry just noticed a few more nit-picky things on my last review. Could you also add a description of this command to the corresponding section in the README with the other commands?
- move up picker check to early exit if needed - unwrap callback - update README to reflect `:ObsidianNewFromTemplate` addition
:ObsidianNewFromTemplate
command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you @malko42!
The goal is to be able to create a new note while using an existing template