diff --git a/js/ditto.js b/js/ditto.js index d1b8af9..feef622 100644 --- a/js/ditto.js +++ b/js/ditto.js @@ -191,7 +191,9 @@ function router() { }).always(function() { clearInterval(loading); - Prism.highlightAll(); + $('#content code').map(function() { + Prism.highlightElement(this); + }); $(ditto.loading_id).hide(); }); }