glushchenko / fsnotes

Notes manager for macOS/iOS
https://fsnot.es
MIT License
6.4k stars 470 forks source link

Ordered list failed #870

Open kiiiiit opened 4 years ago

kiiiiit commented 4 years ago

Describe the bug I'm going to make new style of ordered list like this:

1. test
    1.1. test
    1.2. test
        1.2.1. test

I made simple css file:

ol {
    list-style: none;
    counter-reset: li;
}
ol>li:before {
    counter-increment: li;
    content: counters(li, ".") ". ";
}

In fact I've seen this mixed style list:

1. test
    i. 1.1. test
    ii. 1.2. test
        a. 1.2.1. test

To Reproduce Steps to reproduce the behavior:

  1. Make css file with content like above.
  2. Make ordered list with the different levels.
  3. See error

Desktop (please complete the following information):

glushchenko commented 2 years ago

https://github.com/github/cmark-gfm/issues/194