Closed gu1p closed 1 year ago
No. Which slash command? Is it part of another template? On 13 Jul 2022 at 4:50 PM +0400, gustavoip @.***>, wrote:
I'm trying to write a template that needs, in the rendering process, to call a specific slash command. Is there a way to do that in the current version? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
It's a slash command from a plugin. In my specific case, I want to automatically add a word counter using a template without having to type /Word count
manually.
That makes it easier! I'll just add a slot generation feature then you will be able to create word counters directly from smartblocks. On 13 Jul 2022 at 6:38 PM +0400, gustavoip @.***>, wrote:
It's a slash command from a plugin. In my specific case, I want to automatically add a word counter using a template without having to type /Word count manually. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Just do:
{{renderer :wordcount_<%randUUID%>}}
This will create a word counter when you insert the template provided you're on the latest version of logseq.
You are fast, young man! Thanks a lot
I'm trying to write a template that needs, in the rendering process, to call a specific slash command. Is there a way to do that in the current version?