Результат должен выглядеть так:
Код: Выделить всё
1.1 Item...
...some Text...
1.2 Item
1.3 Item
Код: Выделить всё
2.1 Item
2.2 Item
Item...
...some Text...
2.3 Item
Код: Выделить всё
ol {
counter-reset: section;
list-style-type: none;
}
li::before {
counter-increment: section;
content: counters(section, ".") " ";
}Код: Выделить всё
[list]
[*]
Item
Item
[*]Item
[*]Item
[/list]
Подробнее здесь: https://stackoverflow.com/questions/783 ... a-sub-list
Мобильная версия