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:
@ -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