Skip to content

A .NET library for customizable parsing of markdown documents and transforming into other formats.

License

Notifications You must be signed in to change notification settings

e455a81e-d3ba-41a2-bc6d-7aafb1d9a5cd/Descript.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Descript.io

CI Build status CodeFactor

A .NET library for customizable parsing of markdown documents and transforming into other formats.

Basic structure

Descript.io consists of four projects:

Descriptio

This project acts as a meta-package which references the other Descript.io packages. Additionally, it provides an easy-to-use API surface.

Descriptio.Core

This project contains the structure of the abstract syntax tree.

Descriptio.Parser

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#.

Descriptio.Transform

This project contains the formatters for HTML, LaTex, XML and JSON.

Usage

Using NuGet CLI

nuget install Descriptio

Using dotnet CLI

dotnet add package Descriptio

All published versions can be found on NuGet.

Using the Descript.io library

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();

Contribution

See CONTRIBUTING

License

This project is licensed using the MIT license. You can find it in the file LICENSE

About

A .NET library for customizable parsing of markdown documents and transforming into other formats.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published