Template:Cmd

From base48
Jump to: navigation, search

Helper template for rendering command line commands.

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

If using special characters and not getting any result code= is required: {{cmd|code=a=2*b&c}}

{{{1}}}