I'm adding a new category of posts to my blog; code snippits. I was looking for a tool to manage code snippits when it hit me, why not post them to my blog. I hope you find them useful. I'll just randomly post stuff up there as I work on it.
There are a couple problems with this. One - the editor forces each line of code to have a <p/> break, so the code looks unweildy. Two - Some of the code spans methods within a class, and I'm not quite sure how to post that yet. I'll give this stuff some thought and hopefully have a fix soon.
Good to see! We should all do more of this... hopefully you start a trend!
As far as your editor woes, I have seen the same behavior, assuming you're using the web interface. The best solution I've found so far - view the HTML source, copy it to your favorite text editor, replace </p> with <br/> and <p> with String.Empty, and then paste it back. A little tedious, yes, but it definitely makes the code more readable (at least I think so).
It would be really nice to have a "Insert Code" dialog in the editor, now that I think about it. There are already some great code colorizers out there that we might be able to leverage, and it would generate some pretty code HTML. If it's "easier" to post code, maybe more people will do it!
Scott - I know you mentioned awhile back that you'd like the editor control to be configurable. Are there still plans for this? Maybe I can whip up a little editor that supports things like this...
