|
Project Information
|
syntaxhighlight-blogger-dynamic (sbd)sbd enables Blogger dynamic view users (like mine) to use Alex Gorbatchev's SyntaxHighlighter. It's based on the work done by they guys at Crux Framework. But I've made it more useful (at least to me). To use sbd, add class="brush:style" attributes to your <pre> tags surrounding your code and add this line to the bottom of all of your blog entries that need syntax highlighting: <script src='http://syntaxhighlight-blogger-dynamic.googlecode.com/files/syntaxhighlighter-20111212.js' type='text/javascript'></script> Note: I'm giving up on using git tags to server up files -- it makes the blog very slow when compared to the /files/ section.
<script src='http://syntaxhighlight-blogger-dynamic.googlecode.com/git-history/hackaroid/out/highlightloader.js' type='text/javascript'></script>
This version of SyntaxHighlighter is precompiled to use these brushes: Bash Cpp Css Diff Java JScript Plain Python Sql Xml. Of course, there are many more available. If this set doesn't work for you, then best bet is to clone the project and rebuild. There's a make file that does almost all of the work for you. Once you've cloned the code onto your Ubuntu box:
|