r/AvaloniaUI

MarkView.Avalonia - a markdown view control for Avalonia
▲ 32 r/AvaloniaUI+3 crossposts

MarkView.Avalonia - a markdown view control for Avalonia

While working on an Avalonia-based Launcher App for the Stride Game Engine, I needed to have a markdown renderer for the release notes and announcements.

A while ago, I did a renderer for WPF based on Markdig: Markdig.Wpf which is now archived since I have lost interest in WPF. By the way thanks u/grokys for your contributions to that library.

I decided to make a modern version of that renderer targeting Avalonia instead.

Here it is: https://github.com/Kryptos-FR/MarkView.Avalonia

It supports the fully CommonMark spec thanks to Markdig, as well as most Markdig extensions for emphasis, tables, etc.

I also made a few optional packages to add support for Mermaid (using Mermaider), SVG images and syntax highlighting (using TextMateSharp). I have a LaTeX's math syntax support coming up (using CSharpMath).

Let me know what you think!

Disclosure: I have used AI agents to help me with documentation, refactoring, performance analysis, and integrating the Mermaid and TextMateSharp libraries.

u/KryptosFR — 7 days ago