syntaxhighlighter - Syntax highlighter 3.0 not working on blogspot - Stack Overflow
Depending on your template, the SyntaxHighlighter JavaScript code may run before the content has loaded. In that case, changing the code to run after a short timeout should fix the problem. Try this in the <head>
of your template HTML:
<script type="text/javascript"> window.setTimeout(function() { SyntaxHighlighter.config.bloggerMode = true; SyntaxHighlighter.all(); }, 10); </script>
Read full article from syntaxhighlighter - Syntax highlighter 3.0 not working on blogspot - Stack Overflow
No comments:
Post a Comment