Template:Code

From ConTeXt wiki
(Redirected from Template:code)
Jump to navigationJump to search

{{{1}}}

[edit] [history] [purge] Documentation icon Template documentation

Print inline code, but wrapping it in a template makes changing easier.

{{code|stuff}}

If the code contains any equal sign at all, use this idiom:

{{code|1=location=stuff}}

or fall back on the <code>...</code> tags.