diff --git a/README.md b/README.md index e428629..bea037c 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,15 @@ Markup language ecosystem сombining small file size, big number of possibilitie This is Daleth (high level language that compiles to Daletl). ```yaml +# multilines +# +# (text) - input is trimmed with indent +# +# (~n text) - n is number of minimum spaces to add after trimming with indent +# for each line +# +# (# text) - input not modified +# # tag syntax # # tag: text body @@ -38,15 +47,18 @@ meta[description]: This document describes Daleth syntax and some tags h[1]: TxtDot revolution p: TxtDot is a cool project -# If no tag is specified, then the 'paragraph' tag is placed -# () for block of text +# If no tag is specified, then the 'el' tag is placed +This is element +br + +# if no tag is specified but a '()' is present, then the 'p' tag is placed +# '\n' is deleted only in this format. If a break line is needed in a paragraph, use ' \n'. ( -Check Dalet too -This is one paragraph + Check Dalet too + This is one paragraph ) -This is another paragraph -br +( This is another paragraph ) # [ ] for argument row[center] { @@ -126,7 +138,7 @@ row { # Description # } table ( - +| Element | Description | + +| Tag | Description | | h | Heading | | p | Paragraph | | img | Image | diff --git a/specification/tags.md b/specification/tags.md index 988db28..288903c 100644 --- a/specification/tags.md +++ b/specification/tags.md @@ -124,8 +124,7 @@ ol: { | body | tags | | argument | optional; start, center, end | -Splits the text into rows. The alignment argument specifies how the items inside the row are aligned. By default it is aligned to the start. -m +Splits the text into rows. The alignment argument specifies how the items inside the row are aligned horizontally. By default it is aligned to the start. **Daleth example**: ```txt @@ -486,7 +485,7 @@ disc[Click to expand]: I am Disclosure | body | text, tags | | argument | optional; start, center, end | -Creates block element. Can be used for aligning. By default aligned to center. +Creates block element. Can be used for horizontal aligning. By default aligned to center. **Daleth example**: