Wikipedia:Syntax highlighting

Syntax highlighting is a feature to display source code in different colors and fonts to indicate the structure to readers.

Wikipedia:Syntax highlighting or WP:SYNTAX may refer to:

Syntax highlighting of wiki-code for editors

 * Community Tech/Wikitext editor syntax highlighting – documentation for the wiki-code syntax highlighter available on a highlighter marker button Codemirror-icon.png, to the left of "Advanced" in some toolbars (not to be confused with the pencil icon on the far right, which will switch you to the visual editing mode). If "" (also called the 2017 wikitext editor) is enabled at Special:Preferences then it is available on the menu icon Ic menu 48px.svg.
 * mw:Extension:CodeEditor – syntax highlighting for JavaScript, CSS and modules available on a button  at the left of the toolbar for these page types
 * mw:User:Remember the dot/Syntax highlighter – documentation for the wiki-code syntax highlighter available as "Syntax highlighter" under Special:Preferences
 * User:Cacycle/wikEd – an editor which includes syntax highlighting, available as "wikEd" under Special:Preferences
 * Help:Text editor support – how to use an external editor (many of which do syntax highlighting) to edit Wikipedia pages

Syntax highlighting of output for readers

 * – how to present examples of code and markup to readers
 * mw:Extension:SyntaxHighlight – documentation for the markup that can be used to provide nicely formatted code examples
 * Category:Pages with syntax highlighting errors – tracking category for pages using this feature incorrectly

Syntax in general

 * Help:Wikitext – basic info on the MediaWiki markup syntax used in Wikipedia's pages ("wiki-markup")
 * Manual of Style – Wikipedia's internal style guide for writing articles, including many points on English syntax, punctuation, etc.