CodeWF.Avalonia.Markdown 12.1.6.9

dotnet add package CodeWF.Avalonia.Markdown --version 12.1.6.9
                    
NuGet\Install-Package CodeWF.Avalonia.Markdown -Version 12.1.6.9
                    
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="CodeWF.Avalonia.Markdown" Version="12.1.6.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeWF.Avalonia.Markdown" Version="12.1.6.9" />
                    
Directory.Packages.props
<PackageReference Include="CodeWF.Avalonia.Markdown" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CodeWF.Avalonia.Markdown --version 12.1.6.9
                    
#r "nuget: CodeWF.Avalonia.Markdown, 12.1.6.9"
                    
#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.
#:package CodeWF.Avalonia.Markdown@12.1.6.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CodeWF.Avalonia.Markdown&version=12.1.6.9
                    
Install as a Cake Addin
#tool nuget:?package=CodeWF.Avalonia.Markdown&version=12.1.6.9
                    
Install as a Cake Tool

CodeWF.Avalonia.Markdown

Markdown 完整包:在 Lite 渲染引擎之上提供图片(GIF/SVG/预览)、数学公式、Mermaid 图表、TextMate 代码高亮、行内样式与多格式导出、源码编辑器与所见即所得编辑控件。Full Markdown package: images, math, mermaid, highlighting, export and editors on top of the Lite engine.

NuGet License

安装

dotnet add package CodeWF.Avalonia.Markdown

依赖 Avalonia、AvaloniaEdit、AnimatedImage.Avalonia、Mermaider、SkiaSharp、Svg.Skia、Sylinko.CSharpMath.Avalonia、TextMateSharp(.Grammars)、Avalonia.Controls.ColorPicker,以及同系 CodeWF.Avalonia.Markdown.Lite、CodeWF.Avalonia.Markdown.Core、CodeWF.Avalonia.Controls、CodeWF.Avalonia.Lang、CodeWF.Toolkit.Logging(随包自动安装);目标框架 net11.0,XAML 命名空间 https://codewf.com。

主题接入

<Application.Styles>
  <markdown:MarkdownFullThemes />
</Application.Styles>

MarkdownFullThemes 继承自 Lite 的 MarkdownThemes,含全部能力控件主题;排版主题与尺寸切换同 Lite。

能力一览

模块 说明
图片 GIF/SVG 渲染与预览(AnimatedImage / Svg.Skia)
公式 行内/块级数学公式(CSharpMath.Avalonia)
图表 Mermaid 图表卡片
高亮 TextMate 语法高亮代码块
行内样式 span style 字号/前景色/背景色,含选区浮动条与可读性回退
导出 PNG / PDF / Word(Docx) / HTML 导出与公众号 HTML 复制(MarkdownDocumentExporter 等)
编辑 源码编辑器与单栏实时编辑(所见即所得)控件,基于块编辑核心 CodeWF.Avalonia.Markdown.Core

流式渲染、大纲、检索与虚拟化等基础能力由 Lite 包提供,随本包传递引用。

文档

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
12.1.6.9 49 11/21/2026
12.1.6.5 83 11/16/2026
12.1.6.4 103 11/12/2026
12.1.6.3 92 11/11/2026
12.1.6.2 77 11/10/2026
12.1.6.1 71 11/10/2026
12.1.5.11 71 11/10/2026
12.1.5.10 78 11/10/2026
12.1.5.9 76 11/10/2026
12.1.5.8 78 11/9/2026
12.1.5.7 78 11/9/2026
12.1.5.6 102 11/9/2026
12.1.5.4 69 11/8/2026
12.1.5.3 61 11/8/2026
12.1.5.2 132 11/8/2026
12.1.5.1 58 11/8/2026
Loading failed