Template:Code: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><syntaxhighlight lang={{{2|xml}}}>{{{1}}}</syntaxhighlight></includeonly><noinclude> ==Usage== Shortcut for Extension:Syntaxhighlight ===Arguments=== *1 (obligato...")
 
(No difference)

Latest revision as of 17:54, 7 May 2021

Usage

Shortcut for Extension:Syntaxhighlight

Arguments

  • 1 (obligatory): The code
  • 2 (optional): The language; default:XML

Example

{{code|<?xml version="1.0" encoding="UTF-8"?>
<text>
  <para>hello world</para>
</text>}}

delivers:

{{{1}}}