17 votes

Many users are not formatting images properly. What to do?

Most of the users are either forgetting to add the exclamation mark or maybe deleted the exclamation mark before posting the question/answer. That's not what happens (at least not in most cases); new ...
Glorfindel's user avatar
16 votes
Accepted

Unexpected formatting with code in list

The problem is the list. When using lists, you need to multiply the indentation by the list level (see this answer's source to understand better): No list, 4 spaces indents code: this is code List ...
terdon's user avatar
  • 101k
12 votes

What is the preferred way to add a numbered list using markdown?

tl;dr: Output matters, the rest is up to you. You’re free to use whatever numbering scheme you want as long as it gives the correct output. There is no preferred way, and this is good – needlessly ...
dessert's user avatar
  • 40k
12 votes

Please don't use underscores for formatting

Disagree. If it is supported somewhere, it should be supported everywhere. (Or nowhere but I think no one is going to convert all existing posts.) So I would rather ask for adding the support to “SE ...
Melebius's user avatar
  • 11.4k
9 votes

Automatically wrapping lines in Ask Ubuntu

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 ...
karel's user avatar
  • 115k
9 votes

Can someone elaborate for me the rule on using the back tick for emphasis?

No, backticks should not be used for emphasis. There are various reasons for this: Consider blind users using screen reading software. Such context tags (<code>) help them know what they're ...
terdon's user avatar
  • 101k
8 votes

Unexpected formatting with code in list

When your code is inside an ordered or unordered list you will need to indent it 8 spaces to get proper code formatting. I dunno if this is documented anywhere.
Seth's user avatar
  • 58.1k
8 votes

What should I do when a user persistently insists on poor formatting and resists formatting improvements?

In this case I would suggest doing nothing, because the post is readable as it is. It would look prettier if its two list items were in an actual ordered list, but the 1), 2) formatting is readable ...
Eliah Kagan's user avatar
8 votes

What is the preferred way to add a numbered list using markdown?

Markdown is not perfect, but we can't expect everyone to know LaTeX, so markdown is the easy way for the most common denominator to be able to produce something readable. :-) Your answer wasn't ...
Fabby's user avatar
  • 34.2k
8 votes
Accepted

Insert link doesn't work as expected

It works fine for me. Note that this is the title, not the alt text. The text in the "enter image description" part is the alt text, used when the image couldn't be shown. The title is shown when you ...
muru's user avatar
  • 198k
7 votes
Accepted

Final code block is rendered differently from Edit preview

This has to do with the age of the post and is in fact happening by design. When it was created in December 2018, Stack Exchange didn't support ``` code fences. It did, however, support ``` as a way ...
Brian Nickel's user avatar
6 votes

There is something wrong with backslash ("\") behaviour in comments

I don't remember the details, but there are differences in how markdown works in posts, in comments and in chat. In your case, you want this (see the comment under my answer for a demonstration): you ...
terdon's user avatar
  • 101k
6 votes
Accepted

List of "languages" to be used in "preformatted" code blocks for "Syntax Highlighting"

The answer is here: What is syntax highlighting and how does it work? Note that lang-plaintext or lang-none explicitly disables syntax highlighting. Quote from post edited 30 Aug, 2022. Language ...
Artur Meinild's user avatar
6 votes
Accepted

Markdown editing commands don't seem to work

Comment formatting only supports a very specific subset, the commands in the block at the top. The other ones in the list, like line breaks, are exclusive to posts (questions and answers).
Glorfindel's user avatar
4 votes

Final code block is rendered differently from Edit preview

I usually double-up the indent for each level of bullet point you're under. So here that's an indent of 8 spaces. And it previews correctly. 1. Update your `/etc/default/grub` accordingly: ...
Oli's user avatar
  • 293k
2 votes

Final code block is rendered differently from Edit preview

I solved it by indenting the code block by four spaces, which subordinates it under the ordered list: 1. update your `/etc/default/grub` accordingly: ``` GRUB_CMDLINE_LINUX_DEFAULT="...
dessert's user avatar
  • 40k
2 votes

Syntax highlighting in <pre> block?

Just use this userscript: Better handling of indentation and the TAB key when editing posts. This user script changes the behavior of a few keys (most notably the Tab key) within the post editor ...
terdon's user avatar
  • 101k
2 votes

Syntax highlighting in <pre> block?

Many people who find this post by searching will want to know how to format text as a block of code easily. To do that, select the text in the visual editor (i.e., the text box on Ask Ubuntu where you ...
Eliah Kagan's user avatar
2 votes

Links without http don't get linked

As @JeffAtwood mentioned, links (URLs) have to contain the protocol aka scheme generally and are not valid without it – although most browsers accept just the hostnames without specifying the protocol....
Melebius's user avatar
  • 11.4k
1 vote

Unexpected formatting with code in list

Minor note about 2 successive lists of different type even without any indent space. - ul 1. il <-0 here notice |<-12 code break 1. il - ul <-0 here notice |&...
user.dz's user avatar
  • 48.1k

Only top scored, non community-wiki answers of a minimum length are eligible