pekkah / Tanka.Markdown

Extensible markdown parser
7 stars 2 forks source link

Markdown parser

Project retired in favor of Markdig which does the same thing but better and supports CommonMark.

Build status

Features

Supported Syntax

Extensiblity

Usage

At your own risk, but I'm also dogfooding it myself in my own blog engine available at https://github.com/pekkah/tanka. Live version at http://www.heikura.me.

Install-Package Tanka.Markdown.Html
var parser = new MarkdownParser();
var renderer = new MarkdownHtmlRenderer();

// parse markdown into a document 
Document document = parser.Parse(markdown);

// render document as html
string html = renderer.Render(document);