Files
marqdo/public/structure/07-map.mq.md
T
cflmyandCursor abcb141737 refactor: prefer link-index get across examples and tests
Migrate remaining footnote-style collection access in examples,
public/structure, and ext/lib smokes to [key](base); teach link-index in
structure pages and use bracket calls in the cafe journal example.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 12:54:38 +08:00

23 lines
354 B
Markdown

---
title: Maps (horizontal tables)
description: Multi-column tables are maps; link-index get
---
# main
A multi-column table with one data row is a map. Read values with `[key](map)`.
`kinds` =
| apple | cucumber |
|-------|----------|
| fruit | vegetable |
**`k` = [apple](kinds)**
> print text=`k`
**`k` = [cucumber](kinds)**
> print text=`k`