SyntaxHighlighter not working in the blogger preview mode

369 views Asked by At

I had been using SyntaxHighlighter along with Google Blogger to highlight code and xml on my blog. It used to work in the preview mode and also once the post has been published. All of sudden it stopped working in the preview mode, but works once the blog has been published. I am not sure if any changes have been made to the SyntaxHighlighter or to the Google Blogger.

How to get SyntaxHighlighter work in the preview mode also? I want to make sure that the blog post looks good with SyntaxHighlighter in the preview mode before publishing it.

1

There are 1 answers

0
santosh On

I suggest to use PrismPrism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s used in thousands of websites, including some of those you visit daily.