Skip to content

Commit d571b23

Browse files
committed
add warning
1 parent ec0bfd5 commit d571b23

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/highlight.js

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ https://highlightjs.org/
2828
}
2929

3030
}(function(hljs) {
31+
32+
var warn = console.warn || console.log;
33+
warn("Verion 9 of Highlight.js has reached EOL and is no longer supported. Please upgrade to version 10.");
34+
35+
3136
// Convenience variables for build-in objects
3237
var ArrayProto = [],
3338
objectKeys = Object.keys;

0 commit comments

Comments
 (0)