Bug report - Code block in MarkdownTextBlock is merging with above line if it doesn't have a new line above it #3978
Replies: 4 comments
-
| The only reason why this works in GitHub, is because GitHub's renderer is more lenient, it isn't proper Markdown. | 
Beta Was this translation helpful? Give feedback.
-
| We can't expect "proper Markdown" from users. We should be flexible as GitHub. | 
Beta Was this translation helpful? Give feedback.
-
| Hey! What is the current status of this issue? | 
Beta Was this translation helpful? Give feedback.
-
| 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. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm submitting a...
Current behavior
Code block in MarkdownTextBlock is merging with above line if it doesn't have a new line above it.
Expected behavior
Code block should be displayed in new line even though it doesn't have a new line above it.
Minimal reproduction of the problem with instructions
UWPCommunityToolkit
```XAML
<Grid/>
```
Use the above markdown in MarkdownTextBlock
Beta Was this translation helpful? Give feedback.
All reactions