Markdown Quick Start Guide
This guide provides a practical introduction to rendering Markdown in Avalonia applications using the Avalonia.Controls.Markdown
package.
Installation
See the Installation Guide for step-by-step instructions on how to install Accelerate components.
Add the Markdown package to your project:
dotnet add package Avalonia.Controls.Markdown
Basic Usage
XAML Example
<Markdown Text="# Hello, Markdown!"/>
C# Example
using Avalonia.Controls;
var markdown = new Markdown
{
Text = "# Hello, Markdown!"
};
Styling
You can override named resources for custom styling. See the Markdown Styling and Customization page for details.