seethroughdev / obsidian-recipe-grabber

MIT License
59 stars 8 forks source link

Ability to use {{date}} and {{time}} #16

Closed lzilioli closed 6 months ago

lzilioli commented 11 months ago

The existing obsidian functionality provides the means to reference todays date and time when inserting a template. This would be a welcome addition to this plugin as well. Ideally this plugin could hook into my existing formatting config for date and time.

seethroughdev commented 11 months ago

Makes sense. I would think escaping the line in handlebars would prevent the conflict. \{{date}} but it just renders inside the file as {{date}}.

I'm not sure how/when the templater looks for those tags in the internals. Open to other ideas here.

seethroughdev commented 6 months ago

This feature is now in! More info here: https://github.com/seethroughdev/obsidian-recipe-grabber/pull/25#issuecomment-2051377877