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>
26 lines
211 B
Markdown
26 lines
211 B
Markdown
---
|
|
title: 循环示例
|
|
---
|
|
|
|
# main
|
|
|
|
倒数:
|
|
|
|
*n = 3*
|
|
|
|
- `n` > 0
|
|
> print text=`n`
|
|
*n = n - 1*
|
|
|
|
遍历篮子:
|
|
|
|
`篮子` =
|
|
|
|
| 果 |
|
|
|----|
|
|
| 苹果 |
|
|
| 梨 |
|
|
|
|
- [果](篮子)
|
|
> print text=今天吃`果`
|