Tabbing into a new indented sub-list is a very common activity of people who utilize lists to structure documents. while trying to do this on the desktop app, the main list keeps falling out of order. and also writing any content under a list also takes the list out of order. indented numbered lists also don’t automatically go to a sub format like ‘1.1’. Simple example:
1. First List Item
2. Second List Item
then if i decide to create an indented sub-list for the first list item:
1. First List Item
asdf
1. Second List item
OR
1. First List Item
- asdf
1. Second List Item
Proposed solution
Simple Solution: Mimic exactly how Google Docs handles bullet lists and numbered lists.
This one is just dependent on your theme. Some themes have 1.1 style and some just have 1. style.
Or you could use a CSS snippet to add this to any theme:
ol {
counter-reset: item;
}
ol li {
display: block;
position: relative;
}
ol li:before {
content: counters(item, ".")".";
counter-increment: item;
position: absolute;
margin-right: 100%;
right: 10px; /* space between number and text */
}
Here it is in the sandbox vault with default theme:
If you want multiple lines/paragraphs in a list item, indent any lines after the first.
1. First List Item
asdf
2. Second List item
Depending on the order you do things, you may need to type the number for the second list item. Also you may end up with weird numbering in Live Preview but correct numbering in Reading View (which renders more accurately than Live Preview).