Drop redundant backticks in *…* / **…** code segments
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>
This commit is contained in:
1 parent
1bf414c745
commit
f275d1e030
112 files changed
+762
-761
No files matched your search
@@ -4,4 +4,4 @@ title: bad int
|
||||
|
||||
# main
|
||||
|
||||
*`x` = > int not-a-number*
|
||||
*x = > int not-a-number*
|
||||
@@ -4,4 +4,4 @@ title: empty split sep
|
||||
|
||||
# main
|
||||
|
||||
*`xs` = > split value=ab sep=*
|
||||
*xs = > split value=ab sep=*
|
||||
@@ -4,6 +4,6 @@ title: division by zero
|
||||
|
||||
# main
|
||||
|
||||
*`x` = 1 / 0*
|
||||
*x = 1 / 0*
|
||||
|
||||
> print text=`x`
|
||||
@@ -10,6 +10,6 @@ title: footnote missing map key
|
||||
|------|------|
|
||||
| 水果 | 蔬菜 |
|
||||
|
||||
*`x` = `分类`[^香蕉] *
|
||||
*x = 分类[^香蕉]*
|
||||
|
||||
> print text=`x`
|
||||
@@ -10,6 +10,6 @@ title: footnote list out of range
|
||||
|----|
|
||||
| 苹果 |
|
||||
|
||||
*`x` = `篮子`[^2] *
|
||||
*x = 篮子[^2]*
|
||||
|
||||
> print text=`x`
|
||||
@@ -10,6 +10,6 @@ title: footnote [^0] invalid
|
||||
|----|
|
||||
| 苹果 |
|
||||
|
||||
*`x` = `篮子`[^0] *
|
||||
*x = 篮子[^0]*
|
||||
|
||||
> print text=`x`
|
||||
Reference in new issue
Block a user