Syntax highlighting in Squarespace 6

I held off switching to Squarespace 6 because of its lack of support for javascript-based syntax highlighters that I have used in Squarespace 5. I finally found a solution that may not be ideal but works. I am using Textmate 2 on the OS X that provides very nice syntax highlighting for most languages. Use the menu Bundels -> Textmate -> Create HTML from Document. Enter the HTML into a code block in Squarespace 6 and you have nice looking code. There is also the option of including line numbers.