Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

pekkah/Tanka.Markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Markdown parser

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

Build status

Features

  • Parse markdown into a document structure
  • Render markdown document as html

Supported Syntax

Extensiblity

  • See Tanka.Markdown.Gist

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