File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,17 @@ function load_marked_script(callback) {
2222
2323function load_highlight_script ( callback ) {
2424 var script = document . createElement ( 'script' ) ;
25- script . src = "https://cdn.jsdelivr.net/npm/highlight.js/lib/highlight.js" ;
25+ //script.src = "https://cdn.jsdelivr.net/npm/highlight.js/lib/highlight.js";
26+ script . src = "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/highlight.min.js" ;
2627 script . type = "text/javascript" ;
2728 script . onload = callback ;
2829 document . head . appendChild ( script ) ;
2930}
3031
3132function load_highlight_link_stylesheet ( ) {
3233 var link = document . createElement ( 'link' ) ;
33- link . href = "https://cdn.jsdelivr.net/npm/highlight.js/styles/github.css" ;
34+ //link.href = "https://cdn.jsdelivr.net/npm/highlight.js/styles/github.css";
35+ link . href = "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.4.0/styles/default.min.css" ;
3436 link . rel = "stylesheet" ;
3537 document . head . appendChild ( link ) ;
3638}
You can’t perform that action at this time.
0 commit comments