Skip to content

Commit fa2c558

Browse files
committed
Merge branch 'niels9001/mdtb-improvements' into niels9001/mdtb-fixes
2 parents 49ab394 + 86ce5b6 commit fa2c558

File tree

3 files changed

+264
-259
lines changed

3 files changed

+264
-259
lines changed

components/MarkdownTextBlock/samples/MarkdownTextBlockCustomThemeSample.xaml.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ namespace MarkdownTextBlockExperiment.Samples;
99
/// <summary>
1010
/// A sample demonstrating custom theming options for the MarkdownTextBlock control with live editing.
1111
/// </summary>
12+
///
1213
[ToolkitSample(id: nameof(MarkdownTextBlockCustomThemeSample), "Custom Theme", description: "A sample showcasing custom theming options with live editing for headings, code blocks, quotes, tables, and more.")]
1314
public sealed partial class MarkdownTextBlockCustomThemeSample : MarkdownTextBlockCustomThemeSampleBase
1415
{
@@ -34,12 +35,16 @@ This sample demonstrates the **custom theming** capabilities of the `MarkdownTex
3435
3536
## Images
3637
37-
Images can be styled with max width, max height, and stretch options. Notice how the text flows naturally without any gaps above or below the image:
38+
Images can be styled with max width, max height, corner radius, and stretch options. Notice how the text flows naturally without any gaps above or below the image:
3839
3940
![Windows Terminal](https://devblogs.microsoft.com/commandline/wp-content/uploads/sites/33/2025/11/0.96-Social-media-image-V2-1024x536.webp)
4041
4142
The image above automatically scales to respect the max width setting while maintaining its aspect ratio. Text continues to flow seamlessly below it.
4243
44+
![Shortcut Conflict](https://devblogs.microsoft.com/commandline/wp-content/uploads/sites/33/2025/09/ShortcutConflict.png)
45+
46+
Here's another image showing how corner radius can be applied to give images rounded corners.
47+
4348
## Code Blocks
4449
4550
```csharp

0 commit comments

Comments
 (0)