Here are some examples to complement @rdougan's helpful answer. This is not exactly what the OP asked in the question, but it is what I was looking for when I came here based on the name.
User example
print("<#text#>")
gives you

Standard example
You can also see any of the standard code snippets to see how they are made. Just click one of them in the code snippet area.

which gives

Reminder on how to add custom code snippets:
Write your code as usual in the code editor. Then select it and drag it into the code snippet window. A dialog box will appear in which you can give it a simple shortcut.

Suragch
source share