Difference between revisions of "Template:Code"

From Sugar Labs
Jump to navigation Jump to search
Line 1: Line 1:
<code>{{{1}}}</code><noinclude>
+
<big><code>{{{1}}}</code></big><noinclude>
  
 
==Usage==
 
==Usage==

Revision as of 22:45, 25 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.