Template:CssPre/Doc


 * This is the documentation for undefined. It is transcluded into the template page.

Parameters
All parameters are optional.


 * 1) font-size: The value for the font-size (measured in em). Default value is 1.2
 * 2) pad-size: The value for the padding (measured in em). Default value is 1
 * 3) value-only: Set to y to generate only the value of the style attribute. This can be used when you want to provide additional styles.

Standard
This is a standard PRE block without a style attribute.

 &lt;pre&gt;

&lt;/pre&gt;

Output:

With CssPre
 &lt;pre &gt;

&lt;/pre&gt;

Output:



Value Only
 &lt;pre style="color:blue;"&gt;

&lt;/pre&gt;

Output:

