From b6f95691b65db8f99202bb281e3c481b0eb2be91 Mon Sep 17 00:00:00 2001 From: Artemy Egorov Date: Mon, 12 Aug 2024 20:21:51 +0300 Subject: [PATCH] doc: update table syntax --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index ac4686b..1a788dd 100644 --- a/README.md +++ b/README.md @@ -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 ]] } ```