Difference between revisions of "Template:Code"

From Sugar Labs
Jump to navigation Jump to search
(removed <big> (changed main.css for <code>))
Line 1: Line 1:
<big><code>{{{1}}}</code></big><noinclude>
+
<code>{{{1}}}</code><noinclude>
  
 
==Usage==
 
==Usage==

Revision as of 20:13, 19 June 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.