Ph values

Stephan on testing, software (good and bad), Ruby and the world at large

Syntax Highlight Code with TextMate in HTML

Posted by Stephan on 10. March 2009

Andi Schnacke describes how to to generate HMTL to display syntax highlighted code from within TextMate. The short version:

Bundles → TextMate → Create HTML from Document

Strange I didn’t notice before.

About these ads

2 Responses to “Syntax Highlight Code with TextMate in HTML”

  1. mukeshdak said

    For doing so, you need not work so hard, here is an easy way for using it on WordPress.com

    Refer: http://en.support.wordpress.com/code/posting-source-code/

  2. Sadly, this only seems to generate some default CSS code. At least, it does not generate CSS for the theme I’m using (http://web.mac.com/alexander.atallah/Mac/Development/Entries/2007/10/7_Note-Taking_Bundle_for_TextMate.html).

    -Rob

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

%d bloggers like this: