My Byte of Code Blog. Tips and observations on creating software with Objective-C, C/C++, Python, Cocoa and Boost on Mac.

Saturday, January 16, 2010

Markdown and Pygments to syntax highlight code in Blogger

I wanted to use Markdown for posting on Blogger. As I am planning to post source code examples I wanted to be able to do syntax highlighting of the code.

I've found python-markdown which is Markdown implementation in Python. Furthermore, some searching returned Pygments as an option to generate html syntax highlighting from plain source code snippets and I was considering to use Beautiful Soup to extract relevant code blocks from processed Markdown output and replace them with syntax formatted html. There is a python-markdown extension CodeHilite which adds code syntax highlighting support to Python-Markdown using Pygments.

Thursday, January 07, 2010

About My Byte of Code Blog

Blog about developing beautiful, cool and functional software.

Posts will mostly deal with Objective-C, Cocoa, C/C++, possibly some Python and other languages, frameworks and technologies that one may come across.

I will try to document my Mac OS and iPhone development experience but may occasionally mention useful stuff I came across developing Linux and Windows network applications or any tools or code snippets required to earn living.

I am hoping for having enough time to post great deal of code examples.