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>
18 lines
210 B
Markdown
18 lines
210 B
Markdown
---
|
|
title: fs read/exists
|
|
import fs:lib/fs.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
*ok = > fs.exists path=hello.txt*
|
|
|
|
1. `ok`
|
|
> print text=exists
|
|
2. *
|
|
> print text=missing
|
|
|
|
*t = > fs.read_text path=hello.txt*
|
|
|
|
> print text=`t`
|