List function request
CompletedWould it be possible to have the list function automatically update the numbering if you add a new line in the middle of the list? (ie, increase the values of all the numbers below the new line).
-
I'm working on ways to detect additional changes within lists that could affect numbering without meaningfully affecting performance with all of the other changes that don't affect numbering. Not to mention detecting when a list is not a list (e.g it's a code block instead). To do this with 100% accuracy requires reparsing the entire document, which is not trivial when writing a novel, for example.
Things to remember:
1. The list numbering doesn't actually matter in Markdown. So, if exporting to another format, it will still be correct. I get wanting it to be "right", but depending on your use case, it might not actually matter that much.
2. The easiest way to manually reset numbering is to toggle to a bulleted list and back again. Also easy is to indent and then outdent a list item (e.g. Cmd-] then Cmd-[). This also resets numbering.
0 -
Gotcha, thanks. I didn't even know you could toggle like that. From now on, I'll just do a bulleted list and convert to numbered when I'm importing.
0
Please sign in to leave a comment.
Comments
2 comments