Remora.Markdown
1.1.1
Prefix Reserved
See the version list below for details.
dotnet add package Remora.Markdown --version 1.1.1
NuGet\Install-Package Remora.Markdown -Version 1.1.1
<PackageReference Include="Remora.Markdown" Version="1.1.1" />
paket add Remora.Markdown --version 1.1.1
#r "nuget: Remora.Markdown, 1.1.1"
// Install Remora.Markdown as a Cake Addin #addin nuget:?package=Remora.Markdown&version=1.1.1 // Install Remora.Markdown as a Cake Tool #tool nuget:?package=Remora.Markdown&version=1.1.1
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 was computed. 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.
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 | 257 | 11/20/2023 |
1.1.2 | 365 | 11/20/2022 |
1.1.1 | 392 | 8/19/2022 |
1.1.0 | 358 | 3/28/2021 |
1.0.3 | 462 | 8/6/2020 |
1.0.3-beta1 | 343 | 8/6/2020 |
1.0.2 | 458 | 5/11/2020 |
1.0.2-beta1 | 326 | 8/6/2020 |
1.0.1 | 485 | 12/30/2019 |
1.0.0 | 476 | 12/26/2019 |
Update dependencies.
Remove redundant attributes.