You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Of course we may have other more complex cases including nested lists and so on.
One solution for this would be to properly detect such cases and add some negative margin left to the paragraph depending on the position of the paragraph in the lists hierarchy. For this we need also to take into account the default <li> left margin and properly adjust it for the paragraphs(I did similar to listing margins here #225).
Let me know, please, what you think about this and maybe you have a better alternative.
Thx!
The text was updated successfully, but these errors were encountered:
Currently if we want to do smth like this:
We end up with:
Because currently, when we parse listings, we just add the paragraphs separated by
<br/>
.Generated html is:
Of course we may have other more complex cases including nested lists and so on.
One solution for this would be to properly detect such cases and add some negative margin left to the paragraph depending on the position of the paragraph in the lists hierarchy. For this we need also to take into account the default
<li>
left margin and properly adjust it for the paragraphs(I did similar to listing margins here #225).Let me know, please, what you think about this and maybe you have a better alternative.
Thx!
The text was updated successfully, but these errors were encountered: