Difference between revisions of "Template talk:Code"

From Amahi Wiki
Jump to: navigation, search
(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...")
 
Line 1: Line 1:
 +
----
 
= Code Formatting =
 
= Code Formatting =
  

Revision as of 13:07, 2 January 2011


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$ ​