From 438888b54dac9dbffb8e265f9edb41b0d7a00a9f Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Tue, 5 Jul 2022 15:52:27 +0200 Subject: [PATCH] Update highlight.js to 11.5.1 This brings better support for Scala 3 syntax highlighting --- _includes/footer.html | 6 +++--- resources/js/functions.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index a9e18083ff..7e24a25d00 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -39,9 +39,9 @@ - - - + + + diff --git a/resources/js/functions.js b/resources/js/functions.js index 800319e709..d794bf01de 100644 --- a/resources/js/functions.js +++ b/resources/js/functions.js @@ -67,7 +67,7 @@ $(document).ready(function() { hljs.configure({ languages: ["scala", "bash"] }) - hljs.initHighlighting(); + hljs.highlightAll(); }); // Show Blog