C#到HTML转换器 [英] C# to HTML convertor

查看:65
本文介绍了C#到HTML转换器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将一些C#文件格式化为HTML格式,以便在

网页上显示。我需要以自动方式执行此操作,因为文件经常更改。


我用Google搜索并找到:
http://dotnet.jku.at/applications/Cs2Html/cs2html.aspx


但是来源似乎并不是现成的,至少不是一个易于使用的可提取程序。


任何人都知道其他人?

-

Chad Z. Hower(又名Kudzu) - http://www.hower.org/Kudzu/

编程是一种反击的艺术形式

I need to take some C# files and format them into HTML for display on the
web. I need to do this in an automated fashion as the files change often.

I googled and found:
http://dotnet.jku.at/applications/Cs2Html/cs2html.aspx

But the source does not appear to be readily available, at least not as a
easy to use extractable routine.

Anyone know of others?
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

推荐答案

" Chad Z. Hower aka Kudzu" < CP ** @ hower.org>在新闻中写道:Xns949353F53887cpub @

127.0.0.1:
"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote in news:Xns949353F53887cpub@
127.0.0.1:
任何人都知道其他人吗?
Anyone know of others?



http://www.manoli.net/csharpformat/


只是不得不稍稍努力...

-

Chad Z. Hower(又名Kudzu) - http://www.hower.org/Kudzu/

编程是一种反击的艺术形式 ;



http://www.manoli.net/csharpformat/

Just had to loook a wee bit harder..
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


" Chad Z. Hower aka Kudzu" < CP ** @ hower.org>写道:
"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote:
" Chad Z. Hower aka Kudzu" < CP ** @ hower.org>在新闻中写道:Xns949353F53887cpub @
127.0.0.1:
"Chad Z. Hower aka Kudzu" <cp**@hower.org> wrote in news:Xns949353F53887cpub@
127.0.0.1:
任何人都知道其他人吗?
Anyone know of others?



http://www.manoli.net/csharpformat/

只是不得不稍稍努力..



http://www.manoli.net/csharpformat/

Just had to loook a wee bit harder..




嗨Chad,


我最近做了类似的事情,主要区别是

语言可以定义在一个XML文件中,应用程序

读取加载,并且语法高亮可以在

应用程序配置文件中指定。


我正在考虑将其作为开源发布。现在已经或多或少地完成了b $ b,但我仍然可以在输出HTML中添加一些功能,如行编号

等。


如果您仍然感兴趣,请告诉我,我会向您发送VS.NET

2003项目或源文件。



Hi Chad,

I''ve recently made something similar, with a major difference being
that languages can be "defined" in an XML file which the application
reads on load, and syntax highlighting can be specified in the
application configuration file.

I was considering releasing it as open source. It''s more or less
complete now, but I might still add a few features like line numbering
in the output HTML, etc.

If you''re still interested, let me know and I''ll send you the VS.NET
2003 project or source files.


C#Learner< cs **** @ learner.here>写在

新闻:98 ******************************** @ 4ax.com:
C# Learner <cs****@learner.here> wrote in
news:98********************************@4ax.com:
我最近做了类似的事情,主要的不同是
语言可以定义。在应用程序加载时读取的XML文件中,可以在
应用程序配置文件中指定语法突出显示。


听起来很酷!很高兴添加HTML,PHP,SQL,Delphi等;)

我正在考虑将其作为开源发布。它现在或多或少已完成,但我仍然可以在输出HTML中添加一些功能,如行编号


如果你还在感兴趣,让我知道,我会发送VS.NET
2003项目或源文件。
I''ve recently made something similar, with a major difference being
that languages can be "defined" in an XML file which the application
reads on load, and syntax highlighting can be specified in the
application configuration file.
Sounds cool! Would be nice to add HTML, PHP, SQL, Delp etc. ;)
I was considering releasing it as open source. It''s more or less
complete now, but I might still add a few features like line numbering
in the output HTML, etc.

If you''re still interested, let me know and I''ll send you the VS.NET
2003 project or source files.




当然 - 我喜欢看看!


我只需将其变成一个控制台应用程序来处理构建

进程中的文件。后来我想用它来制作一个自定义控件以便现场使用。

-

Chad Z. Hower(又名Kudzu) - http://www.hower.org/Kudzu/

" ;编程是一种反击的艺术形式



Sure - Id love to take a look!

I just need to turn it into a console app to process the files from a build
process. Later I''d like to make a custom control from it too to be used live.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


这篇关于C#到HTML转换器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆