MarkdownSharp&安培; GitHub的语法C#代码
有没有办法让MarkdownSharp(我使用的是的NuGet包)来处理 GitHub风格降价(GFM)'和C#代码,尤其是语法高亮其中(在GFM)是这样写的:
Is there a way to get MarkdownSharp (I'm using the NuGet package) to handle 'GitHub flavored Markdown (GFM)' and especially syntax highlighting of c# code, which (in GFM) is written like this:
```c#
//my code.....
```
所以,如果我降价格式化的内容传递给MarkDownSharp,containg一个C#代码块(如上)我想它生成语法高亮的HTML为C#代码。有任何想法吗?我知道我可以使用支持的4个空格来表示一个代码块,但同样,我在寻找一个解决方案,得到它的支持GitHub风格降价。
So, if I pass Markdown formatted content to MarkDownSharp, containg a C# code block (as above) I want it to generate syntax highlighted html for that c# code. Any ideas? I know I can use the supported 4 spaces to indicate a code block, but again, I'm seeking a solution for getting it to support GitHub flavored Markdown.