I have the following code-snippet:
- Code: Select all
string markdown = "1. Test\r\n2. Test\r\n3. Test";
var document = new Document();
using (var content = new MemoryStream(Encoding.Default.GetBytes(markdown)))
{
document.LoadFromStream(content, FileFormat.Markdown);
}
document.SaveToFile("C:\\tmp\\convert.markdown.pdf", FileFormat.PDF);
I would expect this to give a a document with only a numbered list. But the list seems so be indented starting at number 2. This is not the correct/expected behavior.