When entering output from terminal, new lines are ignored, except in the input box where it looks just like on the terminal!

When pasting things like fstab into the answer box # is treated as a formating metacharacter and makes text look like a heading.

I'm sure it wasn't always this way. Also, what happened to the horizontal scroll bar?

Why does this happen and how can I fix it?


2 Answers 2


Click the gray circle with a question mark inside it in the upper right corner of the Ask Ubuntu markdown editor to show the link for advanced help (in red letters) which tells all the rules for formatting text in the markdown editor.

enter image description here

Text that is formatted as code does not treat a # character at the beginning of a line as a markdown special character. To format a block of text as code, select the block of code to be formatted with the mouse and click the pair of curly brackets {} to format the selected text as a code block.

When text that is formatted as a code block or preformatted text is too long to fit inside the window a horizontal scrollbar for navigation is automatically added. When text that is formatted as a text block by clicking on IMG: in the markdown editor is too long to fit inside the window, the lines are wrapped automatically so that the text fits inside the window and a horizontal scrollbar isn't necessary to read all the text.


A blank line followed by a line with four spaces at the beginning produces a Code block. Each line of the code block must start with fours spaces or be a blank line. ie. anything other than four spaces or a return at the front of a line ends the code block. See the edit on your linked post.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .