是否有工具导出C#到HTML与语法突出显示 [英] Is there a tool to export C# to HTML with syntax highlighting
本文介绍了是否有工具导出C#到HTML与语法突出显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找某种方式将.cs文件导出到.html文件,以便在网络上发布,但是我的搜索没有太多帮助。我记得几年前,一个名为DevC ++的IDE可以为C代码做到这一点,但是我不知道如何使用C#4。
I am looking for some way to export a .cs file to an .html file for posting on the web but my searches aren't helping much. I remember years ago an IDE called DevC++ could do this for C code, but I'm not sure how I'd do it with C# 4.
Visual Studio可以做
Can Visual Studio do this somehow?
推荐答案
您可以使用Visual Studio Addins。
You can use Visual Studio Addins.
- 2008: http://copysourceashtml.codeplex.com/
- 2010: http:/ /visualstudiogallery.msdn.microsoft.com/en-US/656f8df1-13ae-47b3-8f9a-89bf107c3b2a
- 2008: http://copysourceashtml.codeplex.com/
- 2010: http://visualstudiogallery.msdn.microsoft.com/en-US/656f8df1-13ae-47b3-8f9a-89bf107c3b2a
这篇关于是否有工具导出C#到HTML与语法突出显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文