Global task: display Markdown text in Windows Store App. How I think to do it: Markdown -> HTML -> XAML RichTextBlock
More specific purpose: display nested lists like this:
- item 1
- item 2
- subitem 1
- subitem 2 + img-tag + test text + blockquote + code (multiline item)
More global purpose: render nested block-elements.
Problem: it seems, that it is possible to insert into RichTextBlock only block elements (and there is only one element - Paragraph), and into Paragraph - only inline elements.
Current solution is such nesting: RichTextBlock > Paragraph > InlineUIContainer > RichTextBlock ...
. But it feels like a bad idea.
Any idea how to do it right?