-
In the Sometimes items can be quite long and having an empty line between them can be visually useful. For instance, would the following list be a valid list?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hey! Unfortunately those would be 3 separate lists in that case. Our reasoning for it is that if we were to allow this you couldn't be able to easily determine how lists are separated. I mean take a look at this:
Visually you wouldn't expect these to be the same list, right? It's why we've elected not to build our parser that way. The only workaround I can think of is using trailing modifiers to continue the flow of the line:
That causes the next line to be treated as part of the second list item, therefore joining the entire list together. It's not the most elegant in the world, but it's the only way I can think of doing it as of right now. The Neorg concealer can and will hide the Also a small note: Neorg uses Example:
Instead of:
|
Beta Was this translation helpful? Give feedback.
-
Your answer is very helpful. I think that the trailing modifier is actually a good solution to the problem as it is not visually obstructive and provides a good guide to eyes.
However, I was left wondering what's the syntax for a multi-paragraph list item as I could not find this in the manual. Would it be correct to write like below (irrespective of the indentation)?
A final note, I do think it would be a good idea to allow for the use of numbers in the plain text file for ordered list. One of the advantages of the syntax it that it can be read in plain text format and I do often only read the plain text file. As a compromise, what about the following syntax:
or
I think the first option looks more neat. The parser could then ignore the number during the rendering, but it would still be useful for the reader. |
Beta Was this translation helpful? Give feedback.
Hey! Unfortunately those would be 3 separate lists in that case. Our reasoning for it is that if we were to allow this you couldn't be able to easily determine how lists are separated. I mean take a look at this:
Visually you wouldn't expect these to be the same list, right? It's why we've elected not to build our parser that way. The only workaround I can think of is using trailing modifiers to continue the flow of the line:
That causes the n…