Skip to main content

All Questions

Filter by
Sorted by
Tagged with
10 votes
1 answer
348 views

How can I use non-breaking spaces in questions?

I want to use a non-breaking space on Stack Exchange to ensure that an important group of words is kept together on a single line. I've tried inserting the character space directly as , but it doesn'...
1 vote
0 answers
64 views

Set space after inline code environment which ends with a space in comments [duplicate]

When writing comments, it is possible to write a space after the last character of the code so that it looks like A:<space>. When writing it within a question, however, it does not work. But ...
20 votes
1 answer
963 views

Why do code blocks sometimes not "show" properly?

It's possible that this is a duplicate of this question - but if so, I don't know why, and I can't verify whether it's the case. I've got a concrete example, although only dev (and maybe mods) will be ...
4 votes
1 answer
439 views

Is there a markup for multiple spaces in code?

I would like to put a string of spaces in code in an SO answer: ddl1.Items.Add("12         34") Without code, I can use &nbsp;. In code, I cannot: ddl1.Items.Add("12 &...
1 vote
1 answer
139 views

How can I put a space at the end of an inline code block?

I'm trying to put "dir " in an inline code section, and ```dir `` doesn't work. When I do this, the result looks like this:dir ` (no space at the end). How can I put a space at the end of an inline ...
3 votes
0 answers
62 views

How to edit a post to fix formatting alone?

Say a user posts a question with a code block as follows: function blah { blah blah blah blah blah blah blah blah } and I want to edit the post to fix the formatting to this: function blah { blah ...
9 votes
3 answers
594 views

Preserving white space in comments

Since I don't think we can use the <pre> tag, is there a way to preserve white space in comments? Backticks by themselves don't seem to do it: Using backticks: testing extra spaces Using &...