MarkView.Avalonia.Svg
12.4.0
See the version list below for details.
dotnet add package MarkView.Avalonia.Svg --version 12.4.0
NuGet\Install-Package MarkView.Avalonia.Svg -Version 12.4.0
<PackageReference Include="MarkView.Avalonia.Svg" Version="12.4.0" />
<PackageVersion Include="MarkView.Avalonia.Svg" Version="12.4.0" />
<PackageReference Include="MarkView.Avalonia.Svg" />
paket add MarkView.Avalonia.Svg --version 12.4.0
#r "nuget: MarkView.Avalonia.Svg, 12.4.0"
#:package MarkView.Avalonia.Svg@12.4.0
#addin nuget:?package=MarkView.Avalonia.Svg&version=12.4.0
#tool nuget:?package=MarkView.Avalonia.Svg&version=12.4.0
MarkView.Avalonia.Svg
SVG images for MarkView.Avalonia, rendered with Svg.Skia, the vector library Avalonia uses itself.
Installation
dotnet add package MarkView.Avalonia.Svg
Usage
viewer.UseSvg();
// every viewer of the application, at startup
MarkdownViewerDefaults.Extensions.AddSvg();
Images keep the standard Markdown syntax:



Addresses ending in .svg, data:image/svg+xml URIs and badge services that serve SVG without an .svg address all work; anything that is not SVG is left to the bitmap loader. An SVG image can be saved as SVG or PNG from the lightbox or the context menu.
Documentation
- SVG images: which addresses are read as SVG.
- Saving images and diagrams.
- Writing a custom image loader.
The documentation site covers the whole library, and the demo shows every feature in the browser.
License
MIT © Nicolas Musset
| Product | Versions 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. |
-
net10.0
- MarkView.Avalonia (>= 12.4.0)
- SkiaSharp (>= 4.153.1)
- Svg.Controls.Skia.Avalonia (>= 12.0.0.15)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.