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.

2 thoughts on “Syntax highlighting in Squarespace 6

Leave a Reply

Your email address will not be published. Required fields are marked *