This project has moved. For the latest updates, please go here.

Preformatted text (<pre>)

Inside a <pre> tag, the spaces are conserved.
<pre>
Text in a pre element
is displayed in a fixed-width
font, and it preserves
both      spaces and
line breaks
</pre>
pre.jpg

By default, the converter renders them as a single table but you can turn this option off.
This is useful for piece of code like what you see in the blog nowadays.

converter.RenderPreAsTable = false;

prenotable.png

Last edited Apr 18, 2014 at 12:14 PM by onizet, version 6