Template:Cmd

From base48
Revision as of 00:34, 15 July 2015 by imported>Rmarko (Fixed)

Helper template for rendering command line commands.

Usage: {{cmd|git clone test.repo}} (defaults to bash). Different lang: {{cmd|lang=cpp|code=x ^= 1337.

<syntaxhighlight lang="bash">{{{1}}}</syntaxhighlight>