Skip to content

charlesdevandiere/markdown-builder-dotnet

Repository files navigation

MarkdownBuilder

logo

Markdown builder for .NET Core.

Build Status Coverage Nuget Downloads

See complete documentation here

See sample here

Install

> dotnet add package MarkdownBuilder

Usage

IMarkdownDocument document = new MarkdownDocument();

document.Append(new MarkdownTitle("Lorem ipsum", 1));
document.Append(
    new MarkdownParagraph(
        "Lorem ipsum dolor sit amet, consectetur adipiscing elit."
    )
);

Console.Write(document);
// Output:
// # Lorem ipsum
//
// Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Dependencies