17 votes
Accepted

How useful are the markdown tags for keys?

I agree that it's likely a low rep user, attempting to gain rep, which is fine. I would put this to you, is the edit worthwhile enough that it makes the Q or A better than it was before? If so then ...
slm's user avatar
  • 366k
16 votes

tutorials/guidelines on posting

Moderators could well do editing, but there's only a few of us, and there's a lot of other users that edit questions too. Editing is done to correct formatting issues that otherwise would potentially ...
Kusalananda's user avatar
  • 327k
15 votes

Should keys represented with <kbd> tags be always uppercase?

In this case, definitely no. In particular, showing a command as DW is misleading; D already does something different than dw. Also, vi is a terminal program, it doesn't see keypresses as such, only ...
ilkkachu's user avatar
  • 135k
13 votes
Accepted

Incorrectly rendered code blocks look fine in edit view

Code blocks delimited with ``` ("fences") were implemented just this January (see this meta post). Before that, three backticks was equivalent to one backtick, resulting in inline code formatting, as ...
ilkkachu's user avatar
  • 135k
13 votes

4-space indentation never works

Did you leave an empty line before the code? For example: Test line line 1 indented by four spaces line 2 indented by four spaces Test line 2 line 3 indented by four spaces line 4 ...
Olorin's user avatar
  • 4,656
11 votes

Should We Use Title Case for Titles?

I updated that title. I did so because I honestly had difficulties reading it. My brain was doing A Full Stop After Each Word. I also changed "can" to "may", but this was purely based on personal ...
Kusalananda's user avatar
  • 327k
10 votes
Accepted

Editing: command tools format

There's a great, relevant quote in this Meta SO answer: If such a user gives one of my posts a terminal case of Lyme disease by adding twenty back-ticks then, bam, a quick rollback is all it takes to ...
NotTheDr01ds's user avatar
  • 3,419
9 votes

Should We Use Title Case for Titles?

No, we shouldn't use title case in question titles. It hurts readability. Reading title case is unusual, so it's an immediate barrier to quick reading. Titles usually don't contain multiple sentences, ...
Gilles 'SO- stop being evil''s user avatar
9 votes

Should keys represented with <kbd> tags be always uppercase?

I agree with @ilkkachu's answer that in this case, the original typesetting of the answer using "code" formatting rather than "keystrokes" makes more sense, and my edit should ...
AdminBee's user avatar
  • 22.4k
9 votes

Should keys represented with <kbd> tags be always uppercase?

Should keys represented with <kbd> tags be always uppercase? No — they should probably represent the exact case that is needed for the function. Where it could be confusing (i vs I vs l vs L ...
Jeff Schaller's user avatar
  • 66.7k
8 votes

proper way to format a terminal command and its output for posting on the site

You can get syntax coloring for scripts by starting the code block with something like ```lang-sh. There's no syntax coloring that would detect prompts in a terminal session, and it would be difficult ...
Gilles 'SO- stop being evil''s user avatar
8 votes

tutorials/guidelines on posting

Partly echoing Kusalananda's words, I would add a couple of remarks I hope can be of help. First, don't take edits personally. The Stack Exchange platform aims to be unique1: This design choice ...
fra-san's user avatar
  • 10.1k
7 votes
Accepted

Why doesn't search find my answer?

It does seem like search just ignores code blocks; I can't find any mention of if this is intentional, it seems like an odd decision, and the meta thread about the new search engine implies that it ...
Michael Mrozek's user avatar
7 votes

4-space indentation never works

There's another syntax for code blocks which is mentioned in the advanced formatting help. Surround the code by three backticks on a line of their own. The backticks have to be on their own line but ...
Gilles 'SO- stop being evil''s user avatar
5 votes

Our site has been migrated to CommonMark

I'll just mention a significant consequence of that here as I was just hit by it: Apparently, articles that were last edited before the transition are still rendered the old way, so you don't need to ...
Stéphane Chazelas's user avatar
4 votes

Editing: command tools format

Some thoughts: From the Perl documentation (perlfaq1): What's the difference between "perl" and "Perl"? "Perl" is the name of the language. Only the "P" is ...
ilkkachu's user avatar
  • 135k
4 votes

Incorrectly rendered code blocks look fine in edit view

I don't know what happened to that formatting. I tested the exact same markup in the sandbox and it rendered ok. I then added a single newline to the answer text and saved it, which seems to have ...
Kusalananda's user avatar
  • 327k
4 votes
Accepted

Regarding links to U&L questions in answers, and the way they do/don't expand to the title of the question

That’s not something I’ve noticed recently (and I think I’ve used question links in some of my recent answers...). One thing I have noticed is that questions are replaced by their title, whether the ...
Stephen Kitt's user avatar
4 votes

Experimentation Sandbox

3 votes

Experimentation Sandbox

Will this put everything below this in a <code> tag on the mobile site (and maybe also on the desktop site on some computers / browsers)? I think it did. (I deleted it because it messed up the ...
3 votes

Markdown help: escaping intendation in lists for code blocks

Personally, I do indented code blocks in lists using the triple backtick syntax, and then I use Ctrl+K on them to do the indentation: So, first write the code block this way: * Some list item ...
Kusalananda's user avatar
  • 327k
3 votes

4-space indentation never works

Let me have a go code yes it works! I left a blank line before it. So the 'How to Format' should have told us about this!
XYZ's user avatar
  • 27
2 votes

Incorrectly rendered code blocks look fine in edit view

As already noted, this is because the post was made before triple-backtick code blocks were supported, and hasn't been edited since support was added. A post's rendering is cached until the post is ...
Gilles 'SO- stop being evil''s user avatar
2 votes
Accepted

Suggestion to use 'bash' as syntax highlighting for text processing related tags

For your trivial examples, syntax highlighting looks mildly good because they have short strings in them highlighted as such. But for most text I have seen, blanket-wrapping all awk or sed code (...
muru's user avatar
  • 71.2k
1 vote

4-space indentation never works

The behavior you are seeing is a design feature: in Markdown you need a blank line to signal the and of a paragraph. Spaces or tabs at the beginning of a line are not enough to make it a different ...
fra-san's user avatar
  • 10.1k
1 vote

How useful are the markdown tags for keys?

When I had low enough rep to still go through edit moderation, I was explained that such edits (also, fixing up bad tags, with no other changes to the text body) are frowned upon as they are too small ...
mirabilos's user avatar
  • 1,723
1 vote

How useful are the markdown tags for keys?

The user may have improved the post to some degree. But to what extent is up for debate; deciding what to do with edits which consist primarily of changes in formatting are a matter of balance between ...
Seldom 'Where's Monica' Needy's user avatar
1 vote

Experimentation Sandbox

Code block formatting test. code goes here Now this: more here From problematic answer: for example: ip,time,name,_random 1.1.1.1,2018-08-31 11:12:32,python,65536 1.1.1.1,2018-08-31 11:12:32,...

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