Skip to content

Commit 2f68207

Browse files
committed
Update example within the exampleVault
1 parent 0a86387 commit 2f68207

File tree

3 files changed

+6
-30
lines changed

3 files changed

+6
-30
lines changed

exampleVault/Buttons/Button Example.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,13 @@ action:
2626
```
2727

2828
Custom templater commands
29+
2930
```meta-bind-button
3031
style: default
31-
icon: app-window-mac
32-
label: "Close tabs"
33-
actions:
34-
- type: templaterCreateNote
35-
templateFile: "templates/templater/Close unpinned tabs.md"
36-
templater: true
37-
```
38-
```meta-bind-button
39-
style: default
40-
icon: app-window-mac
41-
label: "Close tabs 2"
32+
label: "Run a templater file"
4233
actions:
4334
- type: runTemplaterFile
44-
templateFile: "templates/templater/Close unpinned tabs.md"
35+
templateFile: "templates/templater/Say Hello Command.md"
4536
```
4637

4738
And custom JS buttons as well

exampleVault/templates/templater/Close unpinned tabs.md

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<%*
2+
new Notice("Hello!");
3+
-%>

0 commit comments

Comments
 (0)