User:Juandario.gg/global.js

// register the hook before the import to avoid race conditions mw.hook('dev.highlight').add(function(hljs) {   // hljs is a shortcut to window.dev.highlight }); importArticle({ type: 'script', article: 'u:dev:Highlight-js.js' }); hlsj.loadLanguage("java");

hlsj.initHighlightingOnLoad;