I'm not familiar with MarkdownSharp, but most Markdown parsers expect two linebreaks (\n
) between a paragraph and another paragraph, or new content.
So, by appending the list
, you remove Item1
from potentially starting a new list. By only being a single linebreak (\n
), MarkdownSharp is most likely not perceiving the content as the start of anything new (just a stray linebreak).
Try concatenating the list with \n\n
.
string text = "here is some **bold** text\n\n" + list;