- Discourse – this forum’s engine – uses Markdown to format its posts, and removes “unnecessary” whitespace.
- Terminal commands often produce output formatted so that they are better readable by the user, taking advantage of the monospaced font used.
- Programming code often rely on indentation to make it more readable.
Markdown includes a pattern to provide preformatting when necessary.
You only need to put the part to format between two lines of three backticks, like so:
This text will be preformatted.
Do note confuse the backtick ` character with the single quote ’ or double quote ".
If you don’t find the backtick key on your keyboard, you can achieve the same result by clicking the Preformatted text </> button in the posting form, or with Ctrl+E.
The posting form has a preview feature, allowing you to check whether you correctly set preformatting before posting.
You can edit your own posts. Make use of this to correct the formatting when asked to.
$ inxi -m
RAM: total: 15.64 GiB used: 6.51 GiB (41.6%)
permissions: Unable to run dmidecode. Root privileges required.
$ inxi -m Memory: RAM: total: 15.64 GiB used: 6.51 GiB (41.6%) RAM Report: permissions: Unable to run dmidecode. Root privileges required.