Template:Syntax highlight: Difference between revisions
Jump to navigation
Jump to search
(Changed to match <syntaxhighlight>) |
Tag: Undo |
||
Line 2: | Line 2: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
--><span style="{{#switch:{{{1}}} | --><span style="{{#switch:{{{1}}} | ||
|character|string=color: | |character|string=color: #BA2121; | ||
|comment=color: | |comment=color: #408080;font-style: italic; | ||
|control=color: | |control=color: #008000;font-weight: bold; | ||
|function=color: | |function=color: #2244FF; | ||
|label=color: | |label=color: #A0A000; | ||
|macro=color: | |macro=color: #BC7A00; | ||
|number|operator=color: | |number|operator=color: #666666; | ||
|register=color: | |register=color: #19177C; | ||
|regular expression=color: | |regular expression=color: #BB6688; | ||
|type=color: | |type=color: #B00040; | ||
}}">{{{2|}}}</span><!-- | }}">{{{2|}}}</span><!-- | ||
--></includeonly></onlyinclude> | --></includeonly></onlyinclude> |
Latest revision as of 13:40, 23 June 2024
The above documentation is transcluded from Template:Syntax highlight/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.