doc: update table syntax

This commit is contained in:
Artemy Egorov 2024-08-12 20:21:51 +03:00
parent 9101f19425
commit b6f95691b6

View file

@ -139,7 +139,7 @@ row [
]]
]
# Table has custom format if text used
# Table has custom format
# +| cells | - primary column
# | cells | - secondary column
# | Element | Description | - converts to
@ -147,15 +147,15 @@ row [
# Element
# Description
# ]
table {
+| Tag | Description |
| h | Heading |
| p | Paragraph |
| img | Image |
| link | Link |
| btn | Button |
| ul | Unordered list |
| br | Line break |
+| quantity | 7 |
{> table
[[ Tag | Description ]]
[ h | Heading ]
[ p | Paragraph ]
[ img | Image ]
[ link | Link ]
[ btn | Button ]
[ ul | Unordered list ]
[ br | Line break ]
[[ quantity | 7 ]]
}
```