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
8 votes
Accepted

How to get the * (asterisk) to show in <kbd> mode if used twice

You can backslash the Markdown characters: <kbd>Ctrl</kbd>+<kbd>\*</kbd> or <kbd>Alt</kbd>+<kbd>\*</kbd> gives Ctrl+* or Alt+*.
Michael Homer'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
6 votes
Accepted

embedding gists from github in stackexchange.com

No. That would be the same as linking, which means that should the gist disappear, the question/answer here becomes useless. Won't fix.
jasonwryan's user avatar
  • 72.9k
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

Experimentation Sandbox

4 votes
Accepted

Markdown images using html img src

I have a high resolution screenshot from my mobile phone and I wanted to constrain the rendered view to 30% while leaving the image intact in case someone needed the detail. Then height and width are ...
muru's user avatar
  • 72.3k
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
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
  • 331k
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.2k
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