Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
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 #1879

@Vijay-Nirmal

Description

@Vijay-Nirmal

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
<Grid/>
```

Use the above markdown in MarkdownTextBlock

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions