mirror of
https://github.com/TxtDot/dalet.git
synced 2024-11-21 20:36:23 +03:00
doc: update table syntax
This commit is contained in:
parent
9101f19425
commit
b6f95691b6
1 changed files with 11 additions and 11 deletions
22
README.md
22
README.md
|
@ -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 ]]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue