Template:Cmd

From base48
Revision as of 01:07, 15 July 2015 by Rmarko (talk | contribs) (code note)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}}}