From d571b235c0c079ef971965a5a540eec5d68b531c Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Wed, 18 Nov 2020 11:43:55 -0500 Subject: [PATCH] add warning --- src/highlight.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/highlight.js b/src/highlight.js index ddc1eba27e..94c2e6ad10 100644 --- a/src/highlight.js +++ b/src/highlight.js @@ -28,6 +28,11 @@ https://highlightjs.org/ } }(function(hljs) { + + var warn = console.warn || console.log; + warn("Verion 9 of Highlight.js has reached EOL and is no longer supported. Please upgrade to version 10."); + + // Convenience variables for build-in objects var ArrayProto = [], objectKeys = Object.keys;