Template:Code

From railML 3 Wiki
Revision as of 17:54, 7 May 2021 by RailML Coord Documentation (talk | contribs) (Created page with "<includeonly><syntaxhighlight lang={{{2|xml}}}>{{{1}}}</syntaxhighlight></includeonly><noinclude> ==Usage== Shortcut for Extension:Syntaxhighlight ===Arguments=== *1 (obligato...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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}}}