Template:Highlight

From Leo's Notes
Revision as of 21:07, 14 June 2020 by Leo (talk | contribs)
This page was last edited on 14 June 2020, at 21:07.
No code provided.

Syntax highlights a chunk of code or text

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
langlang 2

language of the code to highlight

Default
text
Example
text
Auto value
text
Stringsuggested
codecode 1

code to highlight

Auto value
Stringrequired
stylestyle

custom CSS style

Auto value
Stringoptional
highlighthighlight

no description

Unknownoptional
lineline

line to highlight

Numberoptional