Closed pramod-knidal closed 1 year ago
Hello @pramodshri-tgsys ,
there seems to be a confusion about paragraphs. Here a Paragraph
represents a commonmark node, which is not always the same as a text paragraph. You can inspect the dingus AST tab to see that each list item has a paragraph
child.
Thus, if you are applying LastLineSpacingSpan
for a Paragraph
node - each list item would have line spacing after it - as each of them contains a Paragraph
Expected : Using LastLineSpacingSpan on a
Paragraph
node should add spacing only after paragraph texts. Actual :LastLineSpacingSpan
adds spacing even afterListItem
sAdd the following code to the Markwon builder :
and use that markwon to render text paragraphs and lists. See that the list item spacing would also have increased.