Difference between revisions of "Template:Code"

From Sugar Labs
Jump to navigation Jump to search
Line 7: Line 7:
 
See also [[:Template:Block]] for code blocks.
 
See also [[:Template:Block]] for code blocks.
  
Used to highlight code samples in an enlarged, monospace typeface that is easier to read than the default.
+
Used to highlight code samples in an enlarged (through the site's main.css), monospace typeface that is easier to read than the default.
 +
 
 +
The template form is shorter and easier to enter while editing.
 
</noinclude>
 
</noinclude>

Revision as of 02:37, 9 May 2010

{{{1}}}

Usage

{{Code|code line}}

See also Template:Block for code blocks.

Used to highlight code samples in an enlarged (through the site's main.css), monospace typeface that is easier to read than the default.

The template form is shorter and easier to enter while editing.