Tuesday, 8 May 2012

Code Snippets in WordPress.com are driving me crazy (help and alternatives?)

I just created this RTF file to blog - adding OData to O2.rtf which provides a walk-through on adding OData support to O2.

My problem is that I don't have an easy way to convert the text and scripts from that RTF file into an Wordpress.com post, since the formatting/layout completely breaks! (even if coping and pasting from Notepad).

So here my question: what is the best place (blog engine) to write this type of articles (text + code snippets + images). I'm about to give up on Wordpress.com! 

Btw, if you know how to do this, then please help me in converting this RTF into a Wordpress.com post (that I could use in http://o2platform.wordpress.com). 

As you can see by the large number of posts with source-code samples (in http://o2platform.wordpress.com), I have done this conversion far to many times....and ... I'm really tempted to just add a couple features to TeamMentor and start doing this there :)


Stephen de Vries said...

I've been using Jekyll as a blog engine for a few months now and am quite happy with it.
Features at a glance:
- it's a static site generator, secure++
- You can blog using markdown instead of or in addition to HTML
- Full and complete control of formatting
- Integration with github

- Since the site is static, comments need to be done through a third party service
- Some initial time required to learn the system
- For prettiest results you'd need to host the site yourself.

Michael said...

I have been using Wordpress for a while and when I need to post code, I found easy to use any online(and open source :)) code beautifier, because I can select the flavor of the programming language.