Files
marqdo/tests/structure/collection-cell-expr.mq.md
T
cflmyandCursor f275d1e030 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>
2026-08-17 17:22:45 +08:00

36 lines
558 B
Markdown

---
title: table cell expressions
description: Data cells evaluate like call-arg values (`var`, paths, hyphen prose).
---
# main
*secret = "sk-live"*
*name = "gpt-4o-mini"*
`cfg` =
| api_key | model | base |
|---------|-------|------|
| `secret` | `name` | https://api.openai.com/v1 |
> print text=`cfg`[^api_key]
> print text=`cfg`[^model]
> print text=`cfg`[^base]
`paths` =
| p |
|---|
| /chat/completions |
> print text=`paths`[^1]
`rec` =
| @ | role | content |
|---|------|---------|
| 1 | user | `secret` |
> print text=`rec`[^1][^content]