1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-11 17:50:57 +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);