Template:Stx: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | Manages shortcuts for {{tl|link=syntax highlight}}. See its documentation for supported shortcuts. This template also forwards the {{param|code}} parameter to {{tl|syntax highlight}}. | ||
<onlyinclude><includeonly>{{Syntax highlight|{{#switch:{{{1}}} | |||
|char|str=character | |||
| | |comm=comment | ||
| | |ctrl=control | ||
| | |func=function | ||
| | |lbl=label | ||
| | |mac=macro | ||
| | |no|op=number | ||
| | |reg=register | ||
| | |regex=regular expression | ||
| | |type=type | ||
| | }}|{{{2}}}|code={{{code|0}}}}}</includeonly></onlyinclude> | ||
Revision as of 13:52, 3 August 2023
Manages shortcuts for {{syntax highlight}}
. See its documentation for supported shortcuts. This template also forwards the {{{code}}} parameter to {{syntax highlight}}
.