mirror of
https://gitee.com/gitea/gitea
synced 2025-11-08 02:20:24 +08:00
markdown & code style
This commit is contained in:
@@ -111,4 +111,13 @@ function initUserSetting(){
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
;(function($){
|
||||
// on Dom Ready
|
||||
$(function(){
|
||||
var $pre = $('.markdown').find('pre > code').parent();
|
||||
$pre.addClass("prettyprint");
|
||||
prettyPrint();
|
||||
});
|
||||
})(jQuery);
|
||||
|
||||
Reference in New Issue
Block a user