shabegom / buttons

Buttons in Obsidian
The Unlicense
478 stars 50 forks source link

type note(Path/to/note) template doesn't work if Path is an icon #14

Closed mdelobelle closed 3 years ago

mdelobelle commented 3 years ago

Hi I'm a huge fan of Button, thank your for this plugin

This works (assuming "Tasks" is an existing folder)

name Add Task
type note(Tasks/New Task) template
action task
class dataview-button

but this won't (assuming "📥" is an existing folder)

name Add Task
type note(📥/New Task) template
action task
class dataview-button
shabegom commented 3 years ago

Oh no! I'll look into emoji support and see how I can make it work.

shabegom commented 3 years ago

@mdelobelle this looks like it works for me. Do you have any errors showing up in the dev console? Have you updated to the latest version of the plugin?

```button name Create New Note from Template type note(😱/Created Note, split) template action Template ```

mdelobelle commented 3 years ago

Yes it works again now! nice, thanks