Changes

Jump to navigation Jump to search
210 bytes added ,  09:52, 29 October 2021
→‎Displaying a ConTeXt command syntax: better explanation of syntax tag
If you want to show the calling convention(s) of a ConTeXt command, you can use <code><nowiki><syntax> ... </syntax></nowiki></code>.
The <nowiki><syntax></nowiki> tag accepts two attributesworks like this:* To get the syntax for a ConTeXt command like <code>\page</code>, use its name without the leading backslash
* To get the syntax for a ConTeXt environment like <code>itemize</code>, use the name of the command that starts the environment.
* Some ConTeXt commands and environments have multiple variants with different arguments.If you want only a specific variant of such a command or environment, you can add <code>variant=</code>. The possible variants are listed in the relevant command page (for an example, see the {{cmd|cite}} page)
{| class=wikitable
! scope=col width=300 style="text-align: left"| You type
! scope=col width=300 500 style="text-align: left"| You see
|- style="vertical-align: top"
| <pre>

Navigation menu