Template:Cmd

From base48
Revision as of 00:45, 15 July 2015 by imported>Rmarko (fix class)

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>