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 ...
  • 350k
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 ...
  • 282k
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 ...
  • 121k
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 ...
  • 121k
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 ...
  • 4,486
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 ...
  • 282k
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 ...
  • 2,727
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, ...
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 ...
  • 19.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 ...
  • 64.2k
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 ...
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 ...
  • 9,286
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 ...
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 ...
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 ...
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 ...
  • 121k
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 ...
  • 282k
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 ...
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 ...
  • 282k
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!
  • 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 ...
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 (...
  • 65.5k
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 ...
  • 9,286
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 ...
  • 1,636
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 ...
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