<div style="overflow-x: auto; white-space: nowrap;">

  <pre>

    Your commands go here...

  </pre>

</div>


<style>

  pre {

    margin: 0;

    white-space: pre-wrap; /* Preserve line breaks */

    font-family: monospace;

  }

</style>