Files
marqdo/tests/structure/collection-cell-expr.mq.md
T
cflmyandCursor 91d51f3f0a Treat bare ids as variables in italic/bold, and land table/quantum follow-ups.
Prefer-var parsing in *…* / **…* (quoted strings for text), table cell expressions, digit map footnotes, and quantum steps/draw with updated golds and LLM sources.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 11:21:23 +08:00

36 lines
564 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]