Jump to content

Template:Unstyled inline syntax: Difference between revisions

From pool
[unchecked revision][unchecked revision]
m 1 revision imported
 
m 1 revision imported
 
(No difference)

Latest revision as of 15:03, 28 January 2020

{{{1}}}

Usage

This template generates syntax highlighting using the "<syntaxhighlight>" tag, but doesn't have a code-element-like style.

Example

{{Unstyled inline syntax|lang=css|code=a[href]::after { content: " (" attr(href) ")" } /* the preceding code allows people to know what links link to */}} returns a[href]::after { content: " (" attr(href) ")" } /* the preceding code allows people to know what links link to */