@titsoft/list-m
v0.2.0
Published
ul and ol as custom-elemnts
Downloads
138
Readme
list-m
(un)ordered list custom-element.
Syntax & rules
- unordered list
ul
identified by-
or*
- ordered list
ol
identified by adigit + dot
li
content can be changed through a renderer liketext-m
one
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'