MarkdownParser
provides the ability to parse Markdown text in to a nested UI structure.
Available on NuGet.
Install with the dotnet CLI: dotnet add package MarkdownParser
, or through the NuGet Package Manager in Visual Studio.
- CommonMark.NET is used to read Markdown and turn them into usable c# objects
- A custom formatter is created to work with the created c# objects (formatter looks like a CommonMark.NET formatter)
- A custom writer is created to control creation of ui components
- You need to create: An UI component generator (IViewSupplier) must be created which supplies the ui components (one for every platform)
Need any help on creating a IViewSupplier? check out Plugin.Maui.MarkdownView.