Thursday, July 8, 2010

Adding Syntax Highlighing to Blogger

I was doing some digging around last night to see how people inset syntax highlighting to blog posts and came across a really nice demo for it here:

http://codingfreak.blogspot.com/2009/02/blogger-adding-syntax-highlighter-to.html

Means you can do things like:

import pymel.core as pm
def dummystuff():
     node=pm.selected()[0]
     node.name()

It also has syntax highting for most languages supported :)

No comments:

Post a Comment