Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

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 code block?

share|improve this question
I wonder why you would need to? – Wesley Murch Jun 22 '12 at 14:02
So I can say, "type dir , then press tab", instead of "type dir, then press space, then press tab". – Jay Sullivan Jun 22 '12 at 14:10
up vote 12 down vote accepted

A trailing space in an inline code block is easily missed and will not make your explanation any clearer.

Using the example you stated in the comments above, I would rather say:

Type dir followed by spacetab

To back up my statement, consider the following: Type dir followed by tab.

Did you notice the space after dir? Yes, there is one there, inserted by wrapping the text within <code> instead of ` (which inadvertently answers your immediate question).

share|improve this answer
I don't notice the space in that dir, no, because it's inside a quote block, and therefore the background is already gray. – Jay Sullivan Jun 22 '12 at 14:34
@notfed Removed from quote block. Still not very obvious :) – Shawn Chin Jun 22 '12 at 14:36
Thanks, I agree, I'll have to start using <kbd> more often as well. – Jay Sullivan Jun 22 '12 at 14:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .