Value-expression variables inside *…* / **…** segments no longer need backticks (the segment markers already mark code). Drop trailing spaces and de-tick value-expression variable names in tests and skill docs; keep backticks for string interpolation, call args, and method receivers. Co-authored-by: Cursor <cursoragent@cursor.com>
433 B
433 B
title, description
| title | description |
|---|---|
| bare id in italic and bold | Inside *…* / **…**, bare ids are variables; strings need quotes. |
main
answer = 1 n = answer + 1 ticked = 2 s = 'quoted'
print text=
nprint text=tickedprint text=s
a = > ret_var x=7
print text=
a
b = > ret_str
print text=
b
c = > ret_single
print text=
c
ret_var
+ `x`
x
ret_str
"ok"
ret_single
'hi'