Sundown.net
A .NET wrapper of the nice sundown markdown library.
Description
Sundown.net is a C# wrapper of the sundown library, a very robust c library written in C for handling markdown.
Other generators
There are a lot of markdown generators out there, many written in C# while using regex, operating on strings instead of byte arrays or using other handy utilities that come with a speed penalty. While the language and these utilities make the code easier to understand and easier to handle, it comes at a high performance penalty.
The native approach wrapped in candy
Sundown is a library written in pure C utilizing the fastest possible ways to parse and generate markdown. It has a nice extensible API to create backends that output something else than html. Using those C interfaces is actually a painful experience to the normal C# developer, but I have done all the hard work to expose the ugly C interfaces in a beautiful C# API. A showcase of a BBCode generator for markdown reveals how easy it is to use the interface.
Speed
I won't post the results of the benchmarks, since the outcome is dependent on the machine specs, but you can just checkout the project and run the benchmarks for yourself to compare (There is a benchmark project in the solution, so it is really easy to do so). However, my experience was that when already having a decent sized buffer, the execution speed is twice as fast compared to the fastest .NET implementation. The downside is that it is not 'pure clr' and the native library needs to be compiled exclusively on every platform.
Check out the documentation