The following string will properly be transformed from a markdown list to an HTML list:
string list = "* Item1\n* Item 2";
However, if I have some other string, then append the list to it, the output is unexpected.
string text = "here is some **bold** text " + list;
output:
here is some <b>bold</b> text * Item1 * Item 2
It seems the problem is trying to transform a list that exists in a block of other text? If that is the problem, is that the intended behavior?