Posting code in blogger (...and a python script!)

anyone here post code examples in their blog, using blogger.com or any other blogger? i tried wordpress once, but stopped… for some reason.

anyway, i put up a post about a recent python/api script i wrote for maya - closestPointOnCurve. you can check it out on my site…

also, i posted the code within quote formatting, but maybe i should just post it straight in… either way, it would be cool to be able to highlight it all in a different colored box or something. i haven’t investigated that too much to be honest though…

-josh

www.vfxcreator.com

I use Google Syntaxhighlighter on Blogger. Definitely the best-looking highlighting solution, IMO. Here’s an example from my blog.

Here’s a post from another guy on how to set it up. I recall having to poke at it a bit to get it working in Firefox, but I don’t recall the details offhand.

sweet, thanks adam… works good.