This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Bug report - Code block in MarkdownTextBlock is merging with above line if it doesn't have a new line above it #3978
Unanswered
Vijay-Nirmal
asked this question in
Questions & Help
Replies: 4 comments
|
The only reason why this works in GitHub, is because GitHub's renderer is more lenient, it isn't proper Markdown. |
0 replies
|
We can't expect "proper Markdown" from users. We should be flexible as GitHub. |
0 replies
|
Hey! What is the current status of this issue? |
0 replies
|
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
All reactions