$(function() { var $aside = $('aside'); // Convert "View more" links into nicer links. $('a:contains("View more")', $aside).addClass('more'); // Populate any GitTip widgets. if (window.gittip_username) { $aside.html($aside.html().replace( /\[\[.*gittip.*\]\]/, '') ); $('iframe', $aside).parent('p').prev('p').css('margin-bottom', '10px'); } // Highlight any Markdown code. $('div.markdown pre code').each(function(i, e) { hljs.highlightBlock(e); }); });