Gust is a project mainly written in Ruby, it's free.
Syntax highlighting and Markdown/Textile parsing