Template:Highlight

From RCSWiki
Jump to navigation Jump to search
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>