Difference between revisions of "Template:Indentedpre"

From CCARH Wiki
Jump to navigation Jump to search
Line 8: Line 8:
  
 
Which generates this result:
 
Which generates this result:
 
 
{{indentedpre|This is some text}}
 
{{indentedpre|This is some text}}
  

Revision as of 21:49, 15 January 2013

This template is used to create a pre-styled display, but indented and not extending the colored box all of the way to the right margin. Example:

{{indentedpre|This is some text}}

Which generates this result:

    This is some text

Compare to a regular pre: <pre>This is some text</pre> Which generates this style:

This is some text