AskUbuntu [help recommend](https://meta.askubuntu.com/editing-help#code) to style pre-formatted text and console output with

    #four spaces

But sometimes it results in scrolling text. See [this question](https://askubuntu.com/q/1056309/66509) as an example. The problematic line (as [formatted by David Foerster](https://askubuntu.com/revisions/1056309/2)) with console output:

    'Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)' in the drive '/media/cdrom/' and press [Enter]

On my non-customized browsers - tested Chromium 66.0.3359.181, Firefox ESR 52.9, SeaMonkey 2.49.3, Chrome 67.0.3396.99 this text is scrollable:

[![Preformatted text is scrollable][1]][1]

I found that scrolling gets enabled after I enter the 82nd symbol.

Possible workaround is to use backticks:

`'Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)' in the drive '/media/cdrom/' and press [Enter]`

but some users do not like this method.

Other solution from David Foerster is to use custom user-side CSS:

[![custom CSS for code-formattin][2]][2]

(the result looks similar as in narrow terminal with width of 80 characters )

---

Should we avoid scrolling? Do you plan to customize this server-side?


  [1]: https://i.sstatic.net/D9yEJ.png
  [2]: https://i.sstatic.net/fxIyP.png