CodeWF.Avalonia.Markdown.Core 12.1.6.9

dotnet add package CodeWF.Avalonia.Markdown.Core --version 12.1.6.9
                    
NuGet\Install-Package CodeWF.Avalonia.Markdown.Core -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.Core" 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.Core" Version="12.1.6.9" />
                    
Directory.Packages.props
<PackageReference Include="CodeWF.Avalonia.Markdown.Core" />
                    
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.Core --version 12.1.6.9
                    
#r "nuget: CodeWF.Avalonia.Markdown.Core, 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.Core@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.Core&version=12.1.6.9
                    
Install as a Cake Addin
#tool nuget:?package=CodeWF.Avalonia.Markdown.Core&version=12.1.6.9
                    
Install as a Cake Tool

CodeWF.Avalonia.Markdown.Core

Markdown 块编辑核心:块模型与编辑操作(拆块/合并/空文档首块),零 UI 依赖。Block editing core for the markdown editor: block model and editing operations with no UI dependency.

NuGet License

安装

dotnet add package CodeWF.Avalonia.Markdown.Core

零第三方依赖(仅 .NET BCL);目标框架 net11.0。一般由完整包 CodeWF.Avalonia.Markdown 经传递引用带入,自研编辑器宿主也可单独引用。

定位

MarkdownBlockEditorCore 与 Blocks/ 提供所见即所得块编辑的状态机与操作原语:

  • 块模型:标题/段落/列表/引用/代码块等块类型与源码区间(SourceSpan)跟踪。
  • 编辑操作:拆块、合并、空文档首块创建等原语,编辑器控件据此派生按键行为。
  • 状态键:块级状态字典以块源码起始偏移为键,源码变更才清理,同文档重渲染保留折叠等状态。

纯逻辑库,可在无 UI 的测试与后台流程中直接使用。

文档

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.
  • net11.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CodeWF.Avalonia.Markdown.Core:

Package Downloads
CodeWF.Avalonia.Markdown

Markdown 完整包:在 Lite 渲染引擎之上提供图片(GIF/SVG/预览)、数学公式、Mermaid 图表、TextMate 代码高亮、行内样式(span style 字号/前景色/背景色,含选区浮动条与可读性回退)、PNG/PDF/Word/公众号 HTML 导出,以及源码编辑器与单栏实时编辑(所见即所得)控件,并内置能力控件主题。Full Markdown package: images, math, mermaid, highlighting, inline span styles (font size / foreground / background with selection bar and readability fallback), export and editors on top of the Lite engine.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
12.1.6.9 56 11/21/2026