13 lines
219 B
JavaScript
13 lines
219 B
JavaScript
function styleCode() {
|
|
$('pre').each(function() {
|
|
if (!$(this).hasClass('prettyprint')) {
|
|
$(this).addClass('prettyprint');
|
|
}
|
|
});
|
|
|
|
prettyPrint();
|
|
}
|
|
|
|
$(function() {styleCode();});
|
|
|