mo-seph / obsidian-note-from-template

Simple plugin to create Notes from a template, and fill in fields defined there
MIT License
107 stars 9 forks source link

Add field delimiter escaping support #50

Closed cgomlobo closed 6 months ago

cgomlobo commented 8 months ago

Add delimiter escaping support adding \ before it. Example: {{now:currentdate:dd-MM-yyyy HH\:mm}} would be rendered as 17-01-2024 01:44. This would fix this issue.

mo-seph commented 5 months ago

Thanks for this @cgomlobo f! Have included it in upcoming release!

emisjerry commented 1 month ago

Hi,

The second backslash before : still exists after creating:

{{now:currentdate:dd-MM-yyyy HH\:mm\:ss}} -> After creating: 20-08-2024 17:15\:30