BlogEngine.Net代码格式扩展有效吗?

时间:2022-11-29 21:05:15

For months now I've been trying to find a code syntax formatting extension that works for BlogEngine.Net. I'm not fond of the behavior of the default formatting extension, and have tried a couple of others (manoli is among them), but they always seem to interact badly with the TinyMCE editor. Does anyone know of an extension that works, or a different approach that will allow me to make code samples pretty on my blog without hacking the crap out of the HTML myself?

几个月来,我一直在努力寻找适用于BlogEngine.Net的代码语法格式扩展。我不喜欢默认格式扩展的行为,并尝试过其他几个(manoli就是其中之一),但它们似乎总是与TinyMCE编辑器交互不良。有没有人知道一个有效的扩展,或者一种不同的方法,可以让我在我的博客上制作漂亮的代码示例而不用自己破解HTML的废话?

Thanks.

3 个解决方案

#1


4  

I would try using Windows Live Writer along w/ the Paste From Visual Studio plugin. One you go WLW, you'll never go back to that damn TinyMCE interface.

我会尝试使用Windows Live Writer以及Paste From Visual Studio插件。一个你去WLW,你永远不会回到那该死的TinyMCE界面。

WLW here: http://get.live.com/writer/overview

WLW在这里:http://get.live.com/writer/overview

Plugin here: http://gallery.live.com/liveItemDetail.aspx?li=d8835a5e-28da-4242-82eb-e1a006b083b9&l=8

插件在这里:http://gallery.live.com/liveItemDetail.aspx?li = d8835a5e-28da-4242-82eb-e1a006b083b9&l = 8

#2


2  

Thanks, Rafe. Thanks to this post that Hanselman put up the day after I asked the question, I downloaded WLW and am now using it. As far as getting prettily formatted code, I'm using cut-and-paste from a little tool developed and available on manoli.net.

谢谢,Rafe。感谢Hanselman在我提出问题后的第二天发布的帖子,我下载了WLW,现在正在使用它。至于获得经过精心设计的格式化代码,我正在使用manoli.net上开发和提供的一个小工具进行剪切和粘贴。

#3


0  

Check out SyntaxHighlighter.. Works excellent. For easy integration into BlogEngine have a look at my blog post.

查看SyntaxHighlighter ..工作非常好。为了便于集成到BlogEngine中,请查看我的博客文章。

#1


4  

I would try using Windows Live Writer along w/ the Paste From Visual Studio plugin. One you go WLW, you'll never go back to that damn TinyMCE interface.

我会尝试使用Windows Live Writer以及Paste From Visual Studio插件。一个你去WLW,你永远不会回到那该死的TinyMCE界面。

WLW here: http://get.live.com/writer/overview

WLW在这里:http://get.live.com/writer/overview

Plugin here: http://gallery.live.com/liveItemDetail.aspx?li=d8835a5e-28da-4242-82eb-e1a006b083b9&l=8

插件在这里:http://gallery.live.com/liveItemDetail.aspx?li = d8835a5e-28da-4242-82eb-e1a006b083b9&l = 8

#2


2  

Thanks, Rafe. Thanks to this post that Hanselman put up the day after I asked the question, I downloaded WLW and am now using it. As far as getting prettily formatted code, I'm using cut-and-paste from a little tool developed and available on manoli.net.

谢谢,Rafe。感谢Hanselman在我提出问题后的第二天发布的帖子,我下载了WLW,现在正在使用它。至于获得经过精心设计的格式化代码,我正在使用manoli.net上开发和提供的一个小工具进行剪切和粘贴。

#3


0  

Check out SyntaxHighlighter.. Works excellent. For easy integration into BlogEngine have a look at my blog post.

查看SyntaxHighlighter ..工作非常好。为了便于集成到BlogEngine中,请查看我的博客文章。