mirror of
https://github.com/TxtDot/dalet.git
synced 2024-11-21 20:36:23 +03:00
docL update text tag syntax
This commit is contained in:
parent
a9edea3e99
commit
05335c822e
1 changed files with 14 additions and 13 deletions
27
README.md
27
README.md
|
@ -19,7 +19,7 @@ Markup language ecosystem сombining small file size, big number of possibilitie
|
||||||
|
|
||||||
This is Daleth (high level language that compiles to Daletl).
|
This is Daleth (high level language that compiles to Daletl).
|
||||||
|
|
||||||
```yaml
|
```daleth
|
||||||
# multilines
|
# multilines
|
||||||
#
|
#
|
||||||
# {text} - input is trimmed with indent
|
# {text} - input is trimmed with indent
|
||||||
|
@ -56,9 +56,9 @@ meta "description": This document describes Daleth syntax and some tags
|
||||||
h1: TxtDot revolution
|
h1: TxtDot revolution
|
||||||
p: TxtDot is a cool project
|
p: TxtDot is a cool project
|
||||||
|
|
||||||
# If no tag is specified, then the 'el' tag is placed
|
# If no tag is specified, but "- text" present, then the 'el' tag is placed
|
||||||
|
|
||||||
This is element
|
- This is element
|
||||||
br
|
br
|
||||||
|
|
||||||
# if no tag is specified but a '{- text}' is present, then the 'p' tag is placed
|
# if no tag is specified but a '{- text}' is present, then the 'p' tag is placed
|
||||||
|
@ -77,7 +77,7 @@ row "center" [
|
||||||
btn "https://example.com/donate" [
|
btn "https://example.com/donate" [
|
||||||
# tag without body
|
# tag without body
|
||||||
img "https://example.com/donate.png"
|
img "https://example.com/donate.png"
|
||||||
Donate
|
- Donate
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -85,19 +85,20 @@ row "center" [
|
||||||
row [
|
row [
|
||||||
# if no tag is specified but a '[[]]' is present, then the 'el' tag
|
# if no tag is specified but a '[[]]' is present, then the 'el' tag
|
||||||
# with multiple tags body placed
|
# with multiple tags body placed
|
||||||
|
|
||||||
[[
|
[[
|
||||||
h2: Features
|
h2: Features
|
||||||
|
|
||||||
ul [
|
ul [
|
||||||
Server-side page simplification
|
- Server-side page simplification
|
||||||
Media proxy
|
- Media proxy
|
||||||
Image compression with Sharp
|
- Image compression with Sharp
|
||||||
Rendering client-side apps `Vanilla, React, Vue, etc` with webder
|
- Rendering client-side apps `Vanilla, React, Vue, etc` with webder
|
||||||
Search with SearXNG
|
- Search with SearXNG
|
||||||
Handy API endpoints
|
- Handy API endpoints
|
||||||
No client JavaScript
|
- No client JavaScript
|
||||||
Some kind of Material Design 3
|
- Some kind of Material Design 3
|
||||||
Customization with plugins, see @txtdot/sdk and @txtdot/plugins
|
- Customization with plugins, see @txtdot/sdk and @txtdot/plugins
|
||||||
]
|
]
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue