HighlightCode

HighlightCode replaces Fandom's/MediaWiki's syntax highlight (while viewing) with highlight.js'. Note that this doesn't run on MediaWiki:ImportJS, but ImportJS-Plus can be used instead.
== ==
== ==
//JS from https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics#a_user_name_of_null
function setUserName() {
 let myName = prompt('Please enter your name.');
 if(!myName) {
 setUserName();
 } else {
 localStorage.setItem('name', myName);
 myHeading.textContent = 'Mozilla is cool, ' + myName;
 }
}