Middlebury

Difference between revisions of "Template:Codeblock"

 
Line 1: Line 1:
<div style="border: 1px dashed #2F6FAB; padding: 12px; margin: 12px 12px 12px 0px; background-color: #F9F9F9; font-family: monospace; whitespace: prewrap;">{{{1}}}</div><noinclude>
+
<div style="border: 1px dashed #2F6FAB; padding: 12px; margin: 12px 12px 12px 0px; background-color: #F9F9F9; font-family: monospace; white-space: pre-wrap;">{{{1}}}</div><noinclude>
 
----
 
----
 
Usage Example:
 
Usage Example:
 
 
 
 
 
  
 
<nowiki>{{Codeblock|cd /tmp}}</nowiki> {{Codeblock|cd /tmp}}
 
<nowiki>{{Codeblock|cd /tmp}}</nowiki> {{Codeblock|cd /tmp}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:30, 1 June 2012

{{{1}}}

Usage Example:

{{Codeblock|cd /tmp}}

cd /tmp
Powered by MediaWiki