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>
21 lines
215 B
Markdown
21 lines
215 B
Markdown
---
|
|
title: 布尔与逻辑关键字
|
|
---
|
|
|
|
# main
|
|
|
|
*a = True*
|
|
*b = False*
|
|
|
|
1. `a` and not `b`
|
|
> print text=ok
|
|
2. *
|
|
> print text=fail
|
|
|
|
*probe = 1*
|
|
|
|
1. None
|
|
> print text=none-truthy
|
|
2. *
|
|
> print text=none-falsy
|