1

How to add syntax formatting to Blogger in dynamic views? I found some links on topic, but unfortunately, all are proper for old style, not for dynamic views.

I liked SyntaxHighlighter, so it is my first choice. Also google-code-prettify is acceptable. Any way to highlight code in dynamic views with one of them?

1

I found the solution for the syntax highlighter: kevin-junghans.blogspot

You just need to add this at the end of each post:

<script type="text/javascript">
SyntaxHighlighter.highlight();
</script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.