Remora.Markdown 2.0.0

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

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 Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.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
2.0.0 99 2 months ago
1.1.3 269 11/20/2023
1.1.2 381 11/20/2022
1.1.1 412 8/19/2022
1.1.0 383 3/28/2021
1.0.3 491 8/6/2020
1.0.3-beta1 369 8/6/2020
1.0.2 491 5/11/2020
1.0.2-beta1 352 8/6/2020
1.0.1 517 12/30/2019
1.0.0 506 12/26/2019

Update target frameworks.