shabegom / buttons

Buttons in Obsidian
The Unlicense
478 stars 50 forks source link

When I use a folder the split mode does not work correctly #60

Closed javiavid closed 3 years ago

javiavid commented 3 years ago

If I use the following command, it generates a file inside Journal, but it opens an empty panel in obsidian. If I remove Journal\ it works correctly.

name Journal
type note(Journal\<% moment().format("YYYY-MM-DD__HH_mm_ss") %>, split) template
action tp-daily
templater true

^button-6ut6

shabegom commented 3 years ago

@javiavid sorry for the delay. Your folder should have a forward slash following it, not a backslash.

When I run this:

```button name Journal type note(Journal/<% moment().format("YYYY-MM-DD__HH_mm_ss") %>, split) template action tp-daily templater true ```

it works as expected