how to customize the font display? #727

Closed
opened 2026-01-29 14:43:58 +00:00 by claunia · 2 comments
Owner

Originally created by @ZYZMZM98 on GitHub (Mar 14, 2025).

I use the following code, how to customize the font display, now the default seems to be Segoe UI, I want to be able to customize it, help

<markdig:MarkdownViewer
Loaded="MarkdownViewer_Loaded"
PreviewMouseWheel="MarkdownViewer_PreviewMouseWheel">
</markdig:MarkdownViewer>

Originally created by @ZYZMZM98 on GitHub (Mar 14, 2025). I use the following code, how to customize the font display, now the default seems to be Segoe UI, I want to be able to customize it, help <markdig:MarkdownViewer Loaded="MarkdownViewer_Loaded" PreviewMouseWheel="MarkdownViewer_PreviewMouseWheel"> </markdig:MarkdownViewer>
claunia added the invalid label 2026-01-29 14:43:58 +00:00
Author
Owner

@xoofx commented on GitHub (Mar 14, 2025):

Markdig is only producing Syntax/HTML fragment without any styling. Styling should be done in CSS/UI Styling in your app.

@xoofx commented on GitHub (Mar 14, 2025): Markdig is only producing Syntax/HTML fragment without any styling. Styling should be done in CSS/UI Styling in your app.
Author
Owner

@ZYZMZM98 commented on GitHub (Mar 15, 2025):

Markdig is only producing Syntax/HTML fragment without any styling. Styling should be done in CSS/UI Styling in your app.

I has finded,in file Markdig.Wpf\Themes\generic.xaml

Image

@ZYZMZM98 commented on GitHub (Mar 15, 2025): > Markdig is only producing Syntax/HTML fragment without any styling. Styling should be done in CSS/UI Styling in your app. I has finded,in file Markdig.Wpf\Themes\generic.xaml ![Image](https://github.com/user-attachments/assets/afe025ab-ea9d-4b6f-8449-73ed4ab9bf2b)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#727