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 | - primary column
# | cells | - secondary column # | cells | - secondary column
# | Element | Description | - converts to # | Element | Description | - converts to
@ -147,15 +147,15 @@ row [
# Element # Element
# Description # Description
# ] # ]
table { {> table
+| Tag | Description | [[ Tag | Description ]]
| h | Heading | [ h | Heading ]
| p | Paragraph | [ p | Paragraph ]
| img | Image | [ img | Image ]
| link | Link | [ link | Link ]
| btn | Button | [ btn | Button ]
| ul | Unordered list | [ ul | Unordered list ]
| br | Line break | [ br | Line break ]
+| quantity | 7 | [[ quantity | 7 ]]
} }
``` ```