How do you place the cursor using templater?

Things I have tried

<% tp.file.cursor(1) %>

The text above is rendered. The placement of the cursor is not where the command was inserted.

<% tp.file.cursor() %>

As above

What I’m trying to do

I want to place the cursor at a specific location in my note using templater plugin.

Your first option is correct. You just need to enable it in the Templater settings:

1 Like