Novolis.Markup.Mermaid.Rendering 2026.1.1.61

dotnet add package Novolis.Markup.Mermaid.Rendering --version 2026.1.1.61
                    
NuGet\Install-Package Novolis.Markup.Mermaid.Rendering -Version 2026.1.1.61
                    
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="Novolis.Markup.Mermaid.Rendering" Version="2026.1.1.61" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.Markup.Mermaid.Rendering" Version="2026.1.1.61" />
                    
Directory.Packages.props
<PackageReference Include="Novolis.Markup.Mermaid.Rendering" />
                    
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 Novolis.Markup.Mermaid.Rendering --version 2026.1.1.61
                    
#r "nuget: Novolis.Markup.Mermaid.Rendering, 2026.1.1.61"
                    
#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 Novolis.Markup.Mermaid.Rendering@2026.1.1.61
                    
#: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=Novolis.Markup.Mermaid.Rendering&version=2026.1.1.61
                    
Install as a Cake Addin
#tool nuget:?package=Novolis.Markup.Mermaid.Rendering&version=2026.1.1.61
                    
Install as a Cake Tool

Novolis

Novolis · Docs · Source

Novolis.Markup.Mermaid.Rendering

Headless Mermaid diagram export to SVG (via Mermaider) and PNG (via Svg.Skia) for Novolis.Markup.Mermaid builders — no browser, no Avalonia.

Install

dotnet add package Novolis.Markup.Mermaid.Rendering

Prerequisites: .NET 10 SDK (net10.0).

Quick start

using Novolis.Markup.Mermaid;
using Novolis.Markup.Mermaid.Rendering;

var chart = new Flowchart(Direction.TopToBottom);
var start = new Node("Start", Shape.Rounded);
var end = new Node("Done");
chart.AddNode(start);
chart.AddNode(end);
chart.AddLink(new Link(start, end, "next"));

string? svg = chart.ToSvg();
byte[]? png = chart.ToPng(scale: 2f);

chart.ExportSvg(@"d:\out\diagram.svg");
chart.ExportPng(@"d:\out\diagram.png", MermaidRenderTheme.GitHubLight);

Raw Mermaid source works the same via string extensions:

string? svg = """
    sequenceDiagram
      A->>B: Hello
    """.ToSvg();

API

Type Role
MermaidRenderExtensions ToSvg / ToPng / ExportSvg / ExportPng on IMermaidable and string
MermaidSvgRenderer TryRenderSvg, OptionsFor
MermaidPngRenderer TryRenderPng, TryEncodePng
MermaidRenderTheme StudioDark, GitHubLight

Soft-fail: To* / Try* return null on blank or invalid input. Export* returns false on failure.

Package Role
Novolis.Markup.Mermaid Fluent Mermaid syntax builders
Novolis.Avalonia.Mermaid Avalonia control + HTML preview helpers

More documentation

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Novolis.Markup.Mermaid.Rendering:

Package Downloads
Novolis.Markup.Markdown.Mermaid.Rendering

Markdown HTML rendering with headless Mermaid SVG diagrams.

Novolis.Maui.Mermaid

MAUI Mermaid diagram view: render Mermaid source (or Novolis.Markup.Mermaid builders) to SVG via Novolis.Markup.Mermaid.Rendering.

Novolis.Avalonia.Mermaid

Avalonia Mermaid diagram control: render Mermaid source (or Novolis.Markup.Mermaid builders) to SVG via Novolis.Markup.Mermaid.Rendering.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1.1.61 59 10/2/2026
2026.1.1.60 65 10/2/2026
2026.1.1.58 35 10/2/2026
2026.1.1.57 52 10/2/2026
2026.1.1.56 52 10/1/2026
2026.1.1.55 75 9/30/2026