Using SyntaxHighlighter in Blogger

I use the Google Code Prettify Now.
https://amobiz.github.io/2013/05/28/blogger-google-code-prettify-github-gist/
https://github.com/google/code-prettify/
Use method:
<pre class=”prettyprint”></pre>

Add the following code above the <head> in your blogger’s template:

<link href=”http://alexgorbatchev.com/pub/sh/current/styles/shCore.css“ rel=”stylesheet” type=”text/css”></link>
<!– the theme can change –>
<link href=”http://alexgorbatchev.com/pub/sh/current/styles/shThemeDefault.css“ rel=”stylesheet” type=”text/css”></link>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCpp.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCSharp.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushCss.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJava.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushJScript.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPhp.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPython.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushRuby.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushSql.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushVb.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushXml.js“ type=”text/javascript”></script>
<script src=”http://alexgorbatchev.com/pub/sh/current/scripts/shBrushPerl.js“ type=”text/javascript”></script>
<script language=”javascript”>
SyntaxHighlighter.config.bloggerMode = true; //need to add this if we use blogger
SyntaxHighlighter.all();
</script>
And one thing need to note is that if you want to add some code with < or >, you need to encode the code first. For example, you can use: http://www.opinionatedgeek.com/dotnet/tools/htmlencode/encode.aspx

Reference:
http://alexgorbatchev.com/SyntaxHighlighter/
http://www.craftyfella.com/2010/01/syntax-highlighting-with-blogger-engine.html