Windowscommunitytoolkit: Bug report - Code block in MarkdownTextBlock is merging with above line if it doesn't have a new line above it

Created on 11 Mar 2018  路  4Comments  路  Source: windows-toolkit/WindowsCommunityToolkit

I'm submitting a...

  • Bug report

Current behavior

Code block in MarkdownTextBlock is merging with above line if it doesn't have a new line above it.

applicationframehost_2018-03-11_10-48-16

Expected behavior

Code block should be displayed in new line even though it doesn't have a new line above it.

applicationframehost_2018-03-11_10-50-05

Minimal reproduction of the problem with instructions

UWPCommunityToolkit
```XAML
\
```

Use the above markdown in MarkdownTextBlock

controls help wanted markdown 馃搼 no-recent-activity

Most helpful comment

We can't expect "proper Markdown" from users. We should be flexible as GitHub.

All 4 comments

The only reason why this works in GitHub, is because GitHub's renderer is more lenient, it isn't proper Markdown.

We can't expect "proper Markdown" from users. We should be flexible as GitHub.

Hey! What is the current status of this issue?

I think it would be useful to implement this, specifically _because_ GitHub supports it. If I want to render the readme.md for a project within my app, for example.

Was this page helpful?
0 / 5 - 0 ratings