Example: https://jsfiddle.net/jacobgoh101/uqrkaodc/3/
<ol>
<li>a</li>
</ol>
<ul>
<li>b</li>
</ul>
<ol>
<li>c</li>
<li>d</li>
<li>e</li>
</ol>
ol li {
counter-increment: list-0;
list-style: none;
}
ol li:before {
content: counter(list-0, decimal) '. ';
}
current result
1 a
• b
1 c
2 d
3 e
Looking for a solution like the one below:
desired result
1 a
• b
2 c
3 d
4 e
(Context: Experimenting with nesting lists in QuillJS. https://github.com/quilljs/quill/issues/979)
UPDATE:
Because of limitations in the QuillJS library, it's not possible to add start="2"
to the ol
or modify the HTML structure.
A pure CSS solution is needed, if feasible.