PeachBrackets 0.9.24
See the version list below for details.
dotnet add package PeachBrackets --version 0.9.24
NuGet\Install-Package PeachBrackets -Version 0.9.24
<PackageReference Include="PeachBrackets" Version="0.9.24" />
<PackageVersion Include="PeachBrackets" Version="0.9.24" />
<PackageReference Include="PeachBrackets" />
paket add PeachBrackets --version 0.9.24
#r "nuget: PeachBrackets, 0.9.24"
#:package PeachBrackets@0.9.24
#addin nuget:?package=PeachBrackets&version=0.9.24
#tool nuget:?package=PeachBrackets&version=0.9.24
PeachBrackets
The HTML, CSS, SVG and MathML engine behind PeachPDF, as a library of its own. It parses a document,
resolves the cascade, lays it out into pages and paints each page onto any
PeachDrawing.Core Canvas: a PDF, a bitmap, or one you implement. It
runs in-process in pure .NET, with no browser and no external tool, and it does not depend on the PDF writer.
using var document = await HtmlDocument.LoadAsync(html, renderContext, new HtmlDocumentOptions());
await document.LayoutAsync(measuringCanvas);
for (var i = 0; i < document.Pages.Count; i++)
{
await document.PaintPageAsync(i, canvasForPage);
}
The links, outline, form controls, logical structure and the words that were clipped are available alongside the pixels, so a
consumer that writes a format with those concepts can carry them over. A tree built in code (not parsed from HTML) is
supported through PeachBrackets.Building.
dotnet add package PeachBrackets
See the PeachBrackets guide for the pipeline, the options and the extension seams. To render HTML to a PDF file, use PeachPDF, which drives this package for you.
| 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. net11.0 is compatible. |
-
net10.0
- MimeKit (>= 4.18.1)
- PeachDrawing (>= 0.9.24)
- PeachDrawing.Core (>= 0.9.24)
- PeachDrawing.Text (>= 0.9.24)
- PeachImage (>= 0.6.0)
- System.Security.Cryptography.Pkcs (>= 10.0.13)
-
net11.0
- MimeKit (>= 4.18.1)
- PeachDrawing (>= 0.9.24)
- PeachDrawing.Core (>= 0.9.24)
- PeachDrawing.Text (>= 0.9.24)
- PeachImage (>= 0.6.0)
- System.Security.Cryptography.Pkcs (>= 10.0.13)
-
net8.0
- MimeKit (>= 4.18.1)
- PeachDrawing (>= 0.9.24)
- PeachDrawing.Core (>= 0.9.24)
- PeachDrawing.Text (>= 0.9.24)
- PeachImage (>= 0.6.0)
- System.IO.Pipelines (>= 10.0.13)
- System.Security.Cryptography.Pkcs (>= 10.0.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PeachBrackets:
| Package | Downloads |
|---|---|
|
PeachPDF
Renders HTML and CSS to PDF in pure .NET, with no browser or external process: HTML parsing, the CSS cascade, layout, SVG, MathML and the PDF writer all run in-process. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.9.25-preview1 | 58 | 10/27/2026 |
| 0.9.24 | 1,030 | 10/23/2026 |