Template:SyntaxHighlight header
Jump to navigation
Jump to search
Header that can be placed before a <syntaxhighlight> tag to e.g. show a filename or block title.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | text 1 | Text to place in the header. | Unbalanced wikitext | required |
Example
{{SyntaxHighlight header|foo.dts}} <syntaxhighlight lang="dts" line> /dts-v1/; / { #address-cells = <1>; #size-cells = <1>; my_node: node1@1000 { compatible = "vendor,foo"; reg = <0x1000 0x54>; vendor,bar-factor = <0x2a>; }; }; </syntaxhighlight>
foo.dts
/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
my_node: node1@1000 {
compatible = "vendor,foo";
reg = <0x1000 0x54>;
vendor,bar-factor = <0x2a>;
};
};