Help:Editing: Difference between revisions
imported>Wackbyte make lang="..." examples more readable, add a wikitext example, and add a link to MediaWiki's own "Pages with syntax highlighting errors" page as it contains some useful info |
imported>Wackbyte m more specific examples section title |
||
| Line 44: | Line 44: | ||
{{bc|<nowiki><syntaxhighlight lang="...">...</syntaxhighlight></nowiki>}} | {{bc|<nowiki><syntaxhighlight lang="...">...</syntaxhighlight></nowiki>}} | ||
=== Examples === | === Examples of <code>lang="..."</code> === | ||
* <code>lang="nix"</code> can be used to highlight Nix expressions. | * <code>lang="nix"</code> can be used to highlight Nix expressions. | ||