;- first item ;.
;- second item ;.
;- third item ;.
- first item
- second item
- third item
<ul>
<li>first item</li>
<li>second item</li>
<li>third item</li>
</ul>
;1. first item ;.
;2. second item ;.
;3. third item ;.
1. first item
2. second item
3. third item
<ol>
<li>first item</li>
<li>second item</li>
<li>third item</li>
</ol>
;+ buy groceries ;.
;* write the guide ;.
;+ publish to github ;.
;+ = unchecked. ;* = checked.
- [ ] buy groceries
- [x] write the guide
- [ ] publish to github
<ul>
<li><input type="checkbox"> buy groceries</li>
<li><input type="checkbox" checked> write the guide</li>
<li><input type="checkbox"> publish to github</li>
</ul>
;- fruits
;- apple ;.
;- banana ;.
;- cherry ;.
;|
;- vegetables
;- carrot ;.
;- broccoli ;.
;|
;. = leaf (no children). ;| = branch (has children inside).
- fruits
- apple
- banana
- cherry
- vegetables
- carrot
- broccoli
markdown uses indentation for nesting — fragile with mixed tabs/spaces.
<ul>
<li>fruits
<ul>
<li>apple</li>
<li>banana</li>
<li>cherry</li>
</ul>
</li>
<li>vegetables
<ul>
<li>carrot</li>
<li>broccoli</li>
</ul>
</li>
</ul>
markdown: - is a list item — but also appears in yaml, CLI flags, and separators.
marktxt: ;- is always a list item. ;1. is always numbered. no ambiguity.
nesting uses structural closers ( ;. vs ;|) instead of fragile indentation.