Remora.Markdown
1.1.2
Prefix Reserved
See the version list below for details.
dotnet add package Remora.Markdown --version 1.1.2
NuGet\Install-Package Remora.Markdown -Version 1.1.2
<PackageReference Include="Remora.Markdown" Version="1.1.2" />
paket add Remora.Markdown --version 1.1.2
#r "nuget: Remora.Markdown, 1.1.2"
// Install Remora.Markdown as a Cake Addin #addin nuget:?package=Remora.Markdown&version=1.1.2 // Install Remora.Markdown as a Cake Tool #tool nuget:?package=Remora.Markdown&version=1.1.2
Remora.Markdown
Remora.Markdown is a small, type-safe library for generating Markdown text. It uses a graph-oriented approach to build Markdown documents, letting you create node trees of various syntax elements which can then be "compiled" into raw textual output.
The library supports some common extensions to the Markdown format such as tables.
Usage
Usage is relatively simple. If you wanted to create a section of Markdown text with some content, for example, you might do something like this:
var section = new MarkdownSection("My Section");
section
.AppendContent(new MarkdownText("The contents of my section "))
.AppendContent(new MarkdownLink("https://example.org", "with a link"))
.AppendContent(new MarkdownHorizontalRule())
.AppendContent(new MarkdownText("And here's a list of things:"))
.AppendContent
(
new MarkdownList()
.AppendItem(new MarkdownText("With emphasis!"){ Emphasis = EmphasisType.Bold | EmphasisType.Italic })
.AppendItem(new MarkdownInlineCode("var snippet = value;"))
);
var text = section.Compile();
This would compile into the following markdown:
# My Section
The contents of my section [with a link](https://example.org)
---
And here's a list of things:
* ***With emphasis!***
* `var snippet = value`;
Installation
Get it on NuGet!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
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.1.3 | 254 | 11/20/2023 |
1.1.2 | 362 | 11/20/2022 |
1.1.1 | 389 | 8/19/2022 |
1.1.0 | 355 | 3/28/2021 |
1.0.3 | 459 | 8/6/2020 |
1.0.3-beta1 | 342 | 8/6/2020 |
1.0.2 | 455 | 5/11/2020 |
1.0.2-beta1 | 325 | 8/6/2020 |
1.0.1 | 482 | 12/30/2019 |
1.0.0 | 473 | 12/26/2019 |
Upgrade Remora.Sdk.