A .NET library for customizable parsing of markdown documents and transforming into other formats.
Descript.io consists of four projects:
This project acts as a meta-package which references the other Descript.io packages. Additionally, it provides an easy-to-use API surface.
This project contains the structure of the abstract syntax tree.
This project contains the markdown lexer and parser components. It is written entirely in F# and uses many syntactic advantages compared to a parser written in C#.
This project contains the formatters for HTML, LaTex, XML and JSON.
Using NuGet CLI
nuget install Descriptio
Using dotnet CLI
dotnet add package Descriptio
All published versions can be found on NuGet.
The easiest way to use the library is by using the integrated Fluent API.
using Descriptio;
// generate LaTex out of markdown
var latexResult = Parse.MarkdownString("# Hello World!")
.AndFormatToLaTexString();
// generate HTML out of markdown
var htmlResult = Parse.MarkdownString("# Hello World!")
.AndFormatToHtmlString();
See CONTRIBUTING
This project is licensed using the MIT license. You can find it in the file LICENSE