Nipah.Markdown 0.1.0

dotnet add package Nipah.Markdown --version 0.1.0
NuGet\Install-Package Nipah.Markdown -Version 0.1.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="Nipah.Markdown" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nipah.Markdown --version 0.1.0
#r "nuget: Nipah.Markdown, 0.1.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.
// Install Nipah.Markdown as a Cake Addin
#addin nuget:?package=Nipah.Markdown&version=0.1.0

// Install Nipah.Markdown as a Cake Tool
#tool nuget:?package=Nipah.Markdown&version=0.1.0

Nipah.Markdown

It is a library used for "parsing" markdown, it uses NipahTokenizer under the hood and makes a basic and simple parse of common markdown syntax.

Usage

var parser = new MarkdownParser();
var result = parser.Parse("""
	# Title
	### Subtitle
	* Item 1
	* Item 2
	* Item 3
	---
	Text
	""");
var document = result.Expect("Expect a valid result");
// You can use the document to handle the markdown, it has 'Elements' and every of them can be either:
// - A MarkdownTitle
// - A MarkdownText
// - A MarkdownSeparator
// - A MarkdownList -> which by itself has a 'Elements' of either:
//   - A MarkdownTitle
//   - A MarkdownText
//   - A MarkdownSeparator
//   - A MarkdownList -> ... and so on

WIP

We still have some work to do, but we are getting there, we are working on the following:

  • Add support for code blocks
  • Add support for images
  • Add support for links
  • Add support for blockquotes
  • Add support for bold
  • Add support for italic
  • Add support for underline
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Nipah.Markdown:

Package Downloads
Spectre.Console.Next.Markdown

A extension fo Spectre.Console to also be able to display markdown in terminal

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.0 296 4/14/2023

First Release Here!