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

[Bug] Version 0.1.9 -> readme template example #22

Open FelipeRearden opened 2 years ago

FelipeRearden commented 2 years ago

Hello @mo-seph !!!!

Just to let you know that I think something is wrong with version 0.1.9 . I started to migrate my workflow from my test vault to my main vault (which has version 0.1.9 installed) and all my templates are broken :(

Then I tried the template from the readme.md and it´s not working as well :(

Sorry for bringing more problems.

Thanks for reading this.

Have a great day!

mo-seph commented 2 years ago

Gotcha - think it's a logic bug, I'll have a look.

FelipeRearden commented 2 years ago

Gotcha - think it's a logic bug, I'll have a look.

Thanks I wish you good luck 🍀 🙏

mo-seph commented 2 years ago

New version should work

FelipeRearden commented 2 years ago

Hello @mo-seph !!!!

Thanks for the fast reply :)

My templates now are working !!!!!

Template 1

---
template-output: "Folder 0"
template-filename: "{{Livro}} - {{Nome}} {{frente}}{{Capítulo}}"
---

**Livro:** {{Livro}}
**Nome:**  {{Nome}} 
**Frente:** {{frente}}
**Capítulo:** {{Capítulo}}

Template 2

---
template-should-create: "none"
template-should-replace: "always"
template-replacement: "{{templateResult}}"
---

|{{A1}}|{{B1}}|
| -----|------|
|{{A2}}|{{B2}}|
|{{A3}}|{{B3}}|

BUT the readme template is not working :(

this is the message box. 5


Feel free the close this issue, i´m gonna continue my migration and I let you know if I found something else

Thanks!!!!

mo-seph commented 2 years ago

Have you changed your default output setting in your config?

FelipeRearden commented 2 years ago

Have you changed your default output setting in your config?

Yes ! This is my config 13

14

Have a great day!!!

mo-seph commented 2 years ago

I can't reproduce at the moment - the README example makes a template in the right place, so I'm not sure what's going on here.

FelipeRearden commented 2 years ago

I think we can close this one since it's working on your end :)

I let you know if I find something wrong with my templates.

From my end, all my templates are working on the latest version!

Have a great day!