Jump to content

User:Mitch Ames/common.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// https://www.mediawiki.org/wiki/User:Remember_the_dot/Syntax_highlighter
syntaxHighlighterConfig = {
    boldOrItalicColor : "",
    wikilinkColor: "",
    headingColor: "",
    signatureColor: "",
    tableColor: "#E6F2FF",
    entityColor: "",

    timeout: 100,
}
/* This wiki-text provides a preview of a specific colour - on a normal page, not this .js page. 
The <div> provides a white background even in a sandbox, which otherwise has a coloured background.

<div style="background-color:white;">
<br/>
One two {{font color||#f0f0f0|three}} four five
<br/>
<br/>
</div>
*/