cirosantilli.github.io
cirosantilli.github.io copied to clipboard
question(lists): blank lines in one-line nested list
1. Summary
Does it fit markdown-style-guide next code?
1. Kira
1. Goddess
1. Forever
Do I need empty lines between the list items?
2. Details
2.1. List
- Nested
- All lines have no more, than one line
2.2. remark
See #78 for details.
remark add warning for list in my example.
D:\SashaDebugging>remark "Kira_remark-lint__list-item-spacing+tabs+nested_list--non-valid__demo.md" --no-stdout
Kira_remark-lint__list-item-spacing+tabs+nested_list--non-valid__demo.md
4:12-5:1 warning Missing new line after list item list-item-spacing remark-lint
‼ 1 warning
remark owner refer to markdown-style-guide:
According the markdown-style-guide, any list-item which spans more than one line, taints the whole list, and requires it to have a blank line between each item.
3. Not helped
Yes, I read Empty lines inside lists section, but didn't find the exact answer to my question.
Thanks.
It is my intention that your code snipped be correct blank line wise:
1. Kira
1. Goddess
1. Forever
Just note that your initial snippet had bad spaces after list marker http://www.cirosantilli.com/markdown-style-guide/#option-list-space-mixed I would recommend instead:
1. Kira
1. Goddess
1. Forever
From my understanding http://www.cirosantilli.com/markdown-style-guide/#empty-lines-inside-lists implies that your code is correct. Why do you think it is not enough? Every item is one line, therefore no blanks.