.NET Fiddle

CSharp · Console

/Program.cs

using System;

public class Program
{
	public static void Main()
	{
		var result = Markdig.Markdown.ToHtml("This is a text with some *emphasis*");
		Console.WriteLine(result); // prints: <p>This is a text with some <em>emphasis</em></p>
	}
}
;