0.3.2 • Published 8 months ago
@titsoft/list-m v0.3.2
list-m
(un)ordered list custom-element.
Syntax & rules
- unordered list
ulidentified by-or* - ordered list
olidentified by adigit + dot licontent can be changed through a renderer liketext-mone
Example
Basic
<list-m>
- point 1
- point 2
* point 3
</list-m>Mix list
<list-m>
1. point A
- point B
2. point C
</list-m>With text-m renderer
<list-m>
1. point|strong/1/
- point 2
2. point 3
</list-m>level-up attribute
Boolean level-up attribute allows to replace list-m by its children.
... Javascript
import {} from '@titsoft/list-m'