clean padding in single file page

This commit is contained in:
FuXiaoHei 2014-03-20 20:42:06 +08:00
parent e8a49c7746
commit c7b6fbfd46
3 changed files with 22 additions and 6 deletions

View file

@ -67,7 +67,7 @@ var Gogits = {
// render markdown
Gogits.renderMarkdown = function () {
var $pre = $('.markdown').find('pre > code').parent();
$pre.addClass("prettyprint");
$pre.addClass("prettyprint linenums");
prettyPrint();
}