Template:Highlight: Difference between revisions

From RCSWiki
Jump to navigation Jump to search
(Created page with "{{#tag:syntaxhighlight |{{{code|{{{1|No code provided.}}}}}} |lang="{{{lang|{{{2|text}}}}}}" |class="mw-highlight-{{{lang|{{{2|text}}}}}}" |style="{{#if:{{{style|}}}| {{{style...")
 
(No difference)

Latest revision as of 17:45, 5 February 2021

No code provided.

<templatedata> { "params": { "lang": { "aliases": [ "2" ], "label": "lang", "description": "language of the code to highlight", "example": "terminal", "type": "string", "default": "terminal", "autovalue": "terminal", "suggested": true }, "code": { "aliases": [ "1" ], "label": "code", "description": "code to highlight", "required": true, "type": "string", "autovalue": "" }, "style": { "label": "style", "description": "custom CSS style", "type": "string", "autovalue": "" }, "highlight": { "aliases": [ "3" ], "autovalue": "" }, "line": { "label": "line", "description": "line to highlight", "type": "number" } }, "description": "Syntax highlights a chunk of code or text", "paramOrder": [ "code", "lang", "line", "style", "highlight" ], "format": "block" } </templatedata>