ChatSyntaxHighlight

ChatSyntaxHighlight introduces the markup syntax for custom syntax highlighting to the Special:Chat extension. It's usage is as follows: ```[language] Block of code Can be multiline```

The first line can be used to specify the language for the syntax, or can be ommitted for an unstyled block of code.

CSS

 * Language indicator
 * The demo image shows a language indicator, which takes the form or an  pseudo-element. This is transparent by default, because it needs custom styles depending on the chosen theme and local wiki configuration. Here is the configuration used in the demo:


 * Custom themes
 * If you wish to build a custom theme from scratch, you can do so by looking at the classes reference for highlight.js.

JavaScript
All configuration options are stored in the  object. All configuration options shown below are completely optional, and the script will work just as fine without them. Make sure to place these before the importArticles statement.
 * theme
 * Theme name. Must be one of the values found in the list below, or null. If null, no theme will be imported. For a preview of the themes, visit the demo site. Type: ?string Default: default

   Dark themes agate androidstudio asta atelier-cave-dark atelier-dune-dark atelier-estuary-dark atelier-forest-dark atelier-health-dark atelier-lakeside-dark atelier-plateau-dark atelier-savanna-dark atelier-seaside-dark atelier-sulphurpool-dark atom-one-dark codepen-embed darcula dark dracula gruvbox-dark hopscotch hybrid ir-black kimbie-dark monokai-sublime monokai obsidian ocean paraiso-dark pojoaque qtcreator_dark railscasts rainbow solarized-dark sunburst tomorrow-night-bright tomorrow-night-eighties tomorrow-night vs2015 zenburn Light themes default arduino-light ascetic atelier-cave-light atelier-dune-light atelier-estuary-light atelier-forest-light atelier-health-light atelier-lakeside-light atelier-plateau-light atelier-savanna-light atelier-seaside-light atelier-sulphurpool-light atom-one-light color-brewer docco foundation github-gist github googlecode grayscale gruvbox-light idea kimbie-light magula mono-blue paraiso-light purebasic qtcreator_light routeros solarized-light tomorrow vs        xcode Colored themes brown-paper far school-book tomorrow-night-blue xt256
 * extraLanguages
 * Extra languages to import from the highlight.js library. Keep in mind not to add languages included by default. A list of available languages can be found at the demo site. Type: array Default: []

 Apache, Bash, CoffeeScript, C++, CS, CSS, Diff, HTTP, INI, Java, JavaScript, JSON, Makefile, XML, Markdown, NGINX, Objective-C, Perl, PHP, Python, Ruby, Shell, and SQL.


 * aliases
 * Object mapping shortcuts to language names. Keep in mind that this object comes populated by the script, so if you will override this then make sure to add back the original key-value pairs if needed. Type: object