- Convert all the tabs in the program to spaces. While this step is optional, I suggest this since there would be no unwanted surprises with tabs in the final document. If you are using a good editor such as vim, this takes less than a minute.
- Go to "Edit Html" tab when editing the post
- Put your code inside
<pre class="verbatim" xml:space="preserve">
- You can also use