有没有到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加载项。
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屋!
查看全文