markdown & code style

This commit is contained in:
slene 2014-03-16 23:25:01 +08:00
parent 015174484a
commit c9bf526be7
7 changed files with 764 additions and 265 deletions

View file

@ -111,4 +111,13 @@ function initUserSetting(){
});
}
});
}
}
;(function($){
// on Dom Ready
$(function(){
var $pre = $('.markdown').find('pre > code').parent();
$pre.addClass("prettyprint");
prettyPrint();
});
})(jQuery);