Help:Code snippets

Code
For code snippets use [[mw:Extension:SyntaxHighlight|, or . Don't forgot to close the tags. If the code still runs while being encased in   tags, add   tags after the   tags.

There are cases where  should be used, for instance where it is important to preserve whitespace.

does not have wikitext as a language option, use "HTML", "XML", "moin" for now. Moin is a different wiki markdown language than what Mediawiki uses. It may be necessary to rotate between three languages to accurately imitate the syntax highlighting of wikitext.

For wikitext do not apply the  parameter. These examples use.

Keyboard input
Use Key press.

HTML entities
Here is a list of HTML entities. HTML entities can be used to: make sure text sticks together or to enhance the typography of an article.

For adding the plain text of HTML entities such as &pound;, type  which results in.

It looks better:
 * (c) vs &copy;


 * Num. vs &#8470;


 * -- vs &mdash;