Template talk:Code

From Amahi Wiki
Revision as of 12:53, 2 January 2011 by Smystaki (talk | contribs) (Created page with "= Code Formatting = To add formatting to code, we have a little Template:Code code template that can be used like this: <pre> {{Code|bash$ ls -l total 696 ... bash$ }} </p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Code Formatting

To add formatting to code, we have a little Template:Code code template that can be used like this:

{{Code|bash$ ls -l
total 696
...
bash$ 
}}

Which should look like this:

bash code
​bash$ ls -l total 696 ... bash$ ​