Great!
Unfortunately, only a number with one digit appears with it. So the list starts with the first entry with “1” and shows the tenth entry with “0”. The eleventh entry then has a “1” again.
I tried to use the style “decimal-leading-zero” instead of “decimal”, but it doesn’t seem to work.
To use with your own data, you’d need to turn on DataviewJS in your Dataview settings if you haven’t already, then replace the “Inbox/Dataview Numbered List Example” with your own query.
This approach makes use of the fact that in Markdown, only the first item of a numbered list matters; subsequent numbers are calculated automatically. So starting each line with "1. " is enough to get it to render as a numbered list.
Attached is a zip with a folder and 11 dummy notes. When using the css and dataview, they should look like the image below. If you copy them into your vault or a test vault, do you still see atypical numbering?
How many css snippets you have?
Try with default theme and disable some css snippets.
I think this behavior is related with any css snippet that affects the list styles (the bullet, the padding, etc.)
Hello Angel, thank you very much for caring so much about my problem. This is really a very strange thing. I copied your test notes into my Vault and displayed the Dataview list … et voilà … again only one digit.
Very strange.
Ha! I have found the error.
It seems to be the theme. I have ‘Blue Topaz’ and Dataview seems to have a problem with that. When I set the default theme, the list appears with normal two digits.