Vrmac.Markdown
1.0.0
dotnet add package Vrmac.Markdown --version 1.0.0
NuGet\Install-Package Vrmac.Markdown -Version 1.0.0
<PackageReference Include="Vrmac.Markdown" Version="1.0.0" />
<PackageVersion Include="Vrmac.Markdown" Version="1.0.0" />
<PackageReference Include="Vrmac.Markdown" />
paket add Vrmac.Markdown --version 1.0.0
#r "nuget: Vrmac.Markdown, 1.0.0"
#:package Vrmac.Markdown@1.0.0
#addin nuget:?package=Vrmac.Markdown&version=1.0.0
#tool nuget:?package=Vrmac.Markdown&version=1.0.0
Vrmac.Markdown
This library contains functions to render markdown into HTML.
Specifically, it implements two alternative methods of doing so.
MarkdownRender
MarkdownRender static class implements a fast but limited markdown renderer.
That class only supports the following features:
- Paragraphs and 3 levels of headers.
- Bold, italic, inline code blocks.
- Hyperlinks.
Not even lists are supported.
MarkdownStandard
MarkdownStandard static class is based on Markdig.Signed
third-party library, and implements a fully featured, standard-compliant markdown renderer.
It uses more resources to render, particularly in terms of memory allocations.
Placeholders extension
This renderer implements a custom extension.
To enable the extension, implement the iMarkdownPlaceholders interface
defined by this library in the consuming project:
/// <summary>Callback interface to inject custom blocks into the markdown</summary>
public interface iMarkdownPlaceholders
{
/// <summary>Write content of the custom block</summary>
void write( StreamWriter w, string id );
}
And pass your object to the iMarkdownPlaceholders? placeholders argument of the render function.
When the extension is enabled, the markdown parser tests lines in the source text against the following regular expression:
^\s*@([a-zA-Z][a-zA-Z0-9]*)\s*$
When a line matches, the renderer extracts the captured group.
Instead of interpreting the line as markdown, it calls the iMarkdownPlaceholders.write callback method,
passing the captured group’s value.
| 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
- Markdig.Signed (>= 1.4.0)
- Vrmac.Utils (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 72 | 9/30/2026 |