Hi friends,
i’m going through Obsidian tutorial and am fiddling w/ Templater. In one of my template, I have parsed thru the MD file and grepped the text that I want, and copied it to navigator.clipboard
.
My question is, how can I paste the value from the clipboard into the template? My code looks like this
<%*
navigator.clipboard.writeText("somet-text");
%>
// I want to paste the value inside this block.
<details>
<%* navigator.clipboard.readText() %>
</details>
What’s the right way to print/assert values ?