When a list is created using hyphens, before or after a list of checkboxes, there is extra line-spacing between the checkbox-list and the generic list. The same issue does not pop-up when an asterisk is used to create bulleted lists after or before a list of checkboxes.
Steps to reproduce
Create a list of checkboxes. Copy paste the below:
[ ] line 1
[ ] line 2
[ ] line 3
After this, create a list using hyphens using below:
Item 1
Item 2
Item 3
Now enter reading mode or export to PDF.
Expected result
Expect to see an evenly spaced list of bullets and checkboxes.
This is probably unrelated. Please download and reinstall Obsidian. Your installer version is out of date. It might not make a difference at all, but it might affect other things.
I can reproduce. I see the same behavior on iOS. In Reading Mode, there is more space between bullets. Even if there are blank lines between the checkbox list and regular list.
That source (except I changed the words “test” to “seperator” was what I showed in my screenshot on iOS in Reading Mode. I’ll test on computers tomorrow.
I am using a Windows 11 on Surface Pro. Haven’t tried it on another OS or device. I have tried a few trouble shooting steps, but the issue persists. Just thought of reporting as I know it is something that should ultimately be fixed in a product.
Reijo, this seems like a fair explanation. It is a feature indeed. But I have a doubt—the loose list does not get triggered when I use an asterisk to create bullets. any reason that you can think of?
I’d say it’s neither a bug nor a feature Markdown is just specification hell and everybody does as they like.
Afaik, it is common for markdown viewers to interpret it as separate lists if the bullet character differs. Otherwise it is treated as a single list and thus triggers loose formatting due to the empty line. It appears that check boxes are implemented simply as a modifier of a list item rather than a different type of list item. And I think it’s a reasonable choice if expressive power is what you like. As a result you can use check boxes and regular list items interspersed or separate them using a different bullet type and on top of that you can use them in combination with loose and tight lists.
The problem is that nobody knows about loose and tight lists because they are barely needed. Markdown lists in general are quite unintuitive and quirky in my opinion.