Closed borekb closed 6 years ago
A smart solution is always using 1.
as list marker. See discussion here.
I personally prefer real numbering as that makes raw markdown more readable (I not always read the rendered HTML version). This extension already has code to support natural numbering so hopefully it can be expanded to the scenario I've described above. Thanks for considering it anyway.
Yes, it's a good enhancement.
But it seems that currently there isn't any available API for us to listen to the reorder event.
An alternative solution is providing a command format ordered list
.
Any suggestion?
Explicit command is perfectly fine for me. 👍
Will have a try when I get some free time
I'd like auto renumbering too please. 8-)
On preview,I want to show the number what I used . Not renumber from 1.
// code
1. list1
2. list2
some desc ..
3. list3
4. list4
some description ..
5. list5
some description ..
some description ..
some desc ..
some description ..
I cannot reproduce on my PC (Windows 10, VSCode v1.22.0-insider)
I guess you have other MD extension installed?
Sorry ,my fault. I generate a localhost page displaying that via hexo server
.
Please try v1.2.0-fix32. Works like a charm ✨
@yzhang-gh 👋 I found this doesn't work in the following cases:
Quite a common use case for me is moving items in ordered lists. In the end, I might end up with something like:
This obviously gets much worse in larger lists, e.g., instructions for something. It would be nice if the numbering could be fixed automatically by this extension.