Avalonia.Controls.Documents.Serialization.Html
12.2.0
Prefix Reserved
See the version list below for details.
dotnet add package Avalonia.Controls.Documents.Serialization.Html --version 12.2.0
NuGet\Install-Package Avalonia.Controls.Documents.Serialization.Html -Version 12.2.0
<PackageReference Include="Avalonia.Controls.Documents.Serialization.Html" Version="12.2.0" />
<PackageVersion Include="Avalonia.Controls.Documents.Serialization.Html" Version="12.2.0" />
<PackageReference Include="Avalonia.Controls.Documents.Serialization.Html" />
paket add Avalonia.Controls.Documents.Serialization.Html --version 12.2.0
#r "nuget: Avalonia.Controls.Documents.Serialization.Html, 12.2.0"
#:package Avalonia.Controls.Documents.Serialization.Html@12.2.0
#addin nuget:?package=Avalonia.Controls.Documents.Serialization.Html&version=12.2.0
#tool nuget:?package=Avalonia.Controls.Documents.Serialization.Html&version=12.2.0
Avalonia.Controls.Documents.Html
HTML serialization support for Avalonia.Controls.Documents. Enables reading and writing FlowDocument content in HTML format.
Features
- Import HTML content into a FlowDocument
- Export FlowDocument content to HTML format
- Implements the
IDocumentSerializerinterface
Quick Start
// Read HTML content
var serializer = new HtmlSerializer();
var document = serializer.Deserialize(stream);
// Write HTML content
serializer.Serialize(document, outputStream);
Dependencies
Avalonia.Controls.Documents
Documentation
See the documentation for more details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Avalonia.Controls.Documents (>= 12.2.0)
- AvaloniaUI.Licensing (>= 3.1.1)
-
net8.0
- Avalonia.Controls.Documents (>= 12.2.0)
- AvaloniaUI.Licensing (>= 3.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Avalonia.Controls.Documents.Serialization.Html:
| Package | Downloads |
|---|---|
|
Avalonia.Controls.Markdown
Markdown rendering control for Avalonia applications |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 13.0.0-rc2 | 185 | 9/10/2026 |
| 12.4.1 | 398 | 11/5/2026 |
| 12.4.0 | 22,842 | 10/28/2026 |
| 12.3.1 | 22,126 | 10/8/2026 |
| 12.3.0 | 7,627 | 9/11/2026 |
| 12.2.3 | 2,489 | 8/20/2026 |
| 12.2.2 | 35,821 | 7/31/2026 |
| 12.2.1 | 540 | 7/29/2026 |
| 12.2.0 | 10,089 | 7/23/2026 |
| 12.1.5 | 9,154 | 6/29/2026 |
| 12.1.4 | 4,878 | 6/22/2026 |
| 12.1.3 | 659 | 6/9/2026 |
| 12.1.2 | 721 | 6/2/2026 |
| 12.1.1 | 1,167 | 5/14/2026 |
| 12.1.0 | 410 | 5/12/2026 |
## 12.2.0
### Features
- A `<ul>`/`<ol>` `style="padding-left"` and `"margin-left"` are now read onto the list's padding (the content indent, where the marker column lives) and margin, matching the CSS list box where the marker sits in the padding. The indent lands on the `List`, shared by every item, not copied onto each `<li>`. Lists with no explicit indent keep the computed column as before.