<p>You can use the <code>&lt;pre&gt;</code> tag.</p>

<p>It IS allowed and works great as well, because <strong>as long as you indent your text</strong> it won't break the <strong>sequence</strong> in your ordered lists.</p>

<p>You can check all the allowed tags in the following link:</p>

<ul>
<li><a href="http://meta.stackexchange.com/q/1777/228133">What HTML tags are allowed on Stack Exchange sites?</a></li>
</ul>

<p><sub>I hope you found this answer helpful :)</sub></p>