Hi, Inam trying to use the templater command in my daily notes to add the Verse of the Day command plugin.
Is there anyone that can help set the code for that?
I tried something like:
<% tp.obsidian.execute_command(“verse-of-the-day:insert-verse”) %>
or even
<% tp.app.commands.executeCommandById(“verse-of-the-day:insert-verse”) %>
But I guess I am off the logic in here
Spock
2
Hi, how does it install or work? I don’t see any installer or instruction?
i think you just need to use <%*
instead of <%
to open your templater block.
https://silentvoid13.github.io/Templater/commands/execution-command.html
1 Like
Yurcee
4
<%*
app.commands.executeCommandById("verse-of-the-day:insert-verse-of-the-day");
_%>
indeed works.
Otherwise the function returns a Boolean true
plus the verse, breaking the callout.
2 Likes
That was awesome! it worked! Thank you!
1 Like
system
Closed
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.