feat(markup): prefer [key](collection) for map and list access
Add GFM link-shaped index as the primary get surface, keep footnote index as transitional compatibility, and align the coffee example. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
5e74ff39f2
commit
4a1c9c48a2
12 files changed
+235
-23
No files matched your search
@@ -0,0 +1,27 @@
|
||||
---
|
||||
title: 链接形取元
|
||||
description: [键](集合) 为主语法;脚注取元仍兼容
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
`菜单` =
|
||||
|
||||
| 美式 | 拿铁 |
|
||||
|------|------|
|
||||
| 18 | 28 |
|
||||
|
||||
`篮子` =
|
||||
|
||||
| 果 |
|
||||
|----|
|
||||
| 桃 |
|
||||
| 杏 |
|
||||
|
||||
**名 = "拿铁"**
|
||||
**价 = [`名`](菜单)**
|
||||
**打印 内容=`价`**
|
||||
**静 = [美式](菜单)**
|
||||
**打印 内容=`静`**
|
||||
**第一 = [1](篮子)**
|
||||
**打印 内容=`第一`**
|
||||
Reference in new issue
Block a user