Skip to content
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

Create new file when adding new person #4

Open
saibotsivad opened this issue Aug 27, 2023 · 2 comments · May be fixed by #8
Open

Create new file when adding new person #4

saibotsivad opened this issue Aug 27, 2023 · 2 comments · May be fixed by #8
Labels
enhancement New feature or request

Comments

@saibotsivad
Copy link
Owner

This is a feature that I would really find handy, in particular it would be really handy if the new file would reference a template.

For example, I would like a template like this, which uses the Templater syntax

---
created: <% tp.date.now('YYYY-MM-DD') %>
---

I think this wouldn't be too hard, there's an API in Obsidian for creating files.

@saibotsivad saibotsivad added the enhancement New feature or request label Aug 27, 2023
@TerryvanWalen TerryvanWalen linked a pull request Sep 20, 2023 that will close this issue
8 tasks
@redactedscribe
Copy link

Currently the option to create new person doesn't create anything. Just a link to a non-existing note. The created person should indeed be automatically created in the "People/" directory, or a prompt given to choose the "People/" subdirectory, if any.

@TerryvanWalen
Copy link

TerryvanWalen commented Feb 1, 2024

I have created a pull request that could close this issue @saibotsivad:
#8

It does not support templater but the default templates plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants