Markdown.Avalonia 0.10.13

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Markdown.Avalonia --version 0.10.13
NuGet\Install-Package Markdown.Avalonia -Version 0.10.13
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Markdown.Avalonia" Version="0.10.13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Markdown.Avalonia --version 0.10.13
#r "nuget: Markdown.Avalonia, 0.10.13"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Markdown.Avalonia as a Cake Addin
#addin nuget:?package=Markdown.Avalonia&version=0.10.13

// Install Markdown.Avalonia as a Cake Tool
#tool nuget:?package=Markdown.Avalonia&version=0.10.13

Markdown.Avalonia render Markdown with avalonia ui. It transform markdown to controls (ex: Border, Grid, TextBlock).

This package depends on AvaloniaEdit for syntax highlighting. If you don't want it, use Markdown.Avalonia.Tight instead.

How to use

Markdown.Avalonia supports three methods to render markdown.

  1. Load .md from AvaloniaResource
    <md:MarkdownScrollViewer
       Source="avares://YourAssemblyName/Assets/Test.md"/>
    
  2. Write markdown in xaml
    <md:MarkdownScrollViewer>
      # Heading1
      Hello Markdown.Avalonia!
    </md:MarkdownScrollViewer>
    
  3. With binding
    <md:MarkdownScrollViewer
       Markdown="{Binding MdText}"/>
    

Preview
sc1
sc2

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Markdown.Avalonia:

Package Downloads
MessageBox.Avalonia

Messagebox for AvaloniaUI

AvaloniaGenerics

Generic UI wrappers and helpers for AvaloniaUI

AvaloniaGenerics.Dialogs

Generic dialog wrapper for AvaloniaUI

MessageBox.Avalonia-mainthread

Messagebox for AvaloniaUI

ChatGPT.UI

An OpenAI client user interface library for .NET.

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Markdown.Avalonia:

Repository Stars
uxmal/reko
Reko is a binary decompiler.
wieslawsoltes/ChatGPT
A ChatGPT C# client for MacOS, Windows, Linux, Android, iOS and Browser. Powered by Avalonia UI framework.
AvaloniaCommunity/MessageBox.Avalonia
Messagebox for AvaloniaUI
8212369/WPR
WP7-8 APP 运行器
whistyun/Markdown.Avalonia
render markdown with Avalonia UI
Version Downloads Last updated
11.0.0-a9 2,957 2/5/2023
11.0.0-a8 83 2/2/2023
11.0.0-a6 453 11/17/2022
11.0.0-a5 60 11/17/2022
11.0.0-a4 453 10/23/2022
11.0.0-a3 4,957 9/12/2022
11.0.0-a1 4,293 8/31/2022
0.10.13 374 1/25/2023
0.10.12 1,994 10/23/2022
0.10.11 40,472 4/30/2022
0.10.10 35,681 1/30/2022
0.10.10-a1 96 1/29/2022
0.10.9 1,155 11/28/2021
0.10.8 279 11/11/2021
0.10.7 2,923 8/24/2021
0.10.6 568 8/18/2021
0.10.5 762 6/28/2021
0.10.4 559 5/23/2021
0.10.3 816 4/22/2021
0.10.2 334 3/29/2021
0.10.1 369 1/27/2021
0.9.1 318 1/27/2021