First, search the help docs and this forum. Maybe your question has been answered! The debugging steps can help, too. Still stuck? Delete this line and proceed.
What I’m trying to do
Hi,
I’m trying to use templater to insert a backlink into a notes frontmatter:
<%*
const proj = await tp.system.prompt(“Please enter a project ID”)
-%>
project: [[<% proj %>]] OR
project: <% “[[” + proj + “]]” %>
The result is always:
project: [[“RSCM”]] instead of [[RSCM]]
How can I do this?