1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

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);