Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 153 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

Possible Duplicate:
WMD unable to render markup inside words

Is it possible to have an italic character next to some non-italic text so that there's no spaces in between?

For example, I want an italic a but normal numbers:

a1556

If I make the a italic and then write the numbers immediately after I get this:

*a*1556

It works with a space in between, but that's not what I want:

a 1556

share|improve this question

marked as duplicate by balpha May 21 '12 at 8:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
I read this title and thought to myself, "cats and dogs, living together!" – Andrew Barber May 21 '12 at 7:51
2  
^__ I read that and thought to myself... "w00t??" ;) – Lix May 21 '12 at 7:52
up vote 3 down vote accepted

You can use regular html tags for italics here. Either of these:

<em>a</em>1556
<i>a</i>1556

Yields:

a1556

share|improve this answer
    
I accepted this answer as it's easier to remember than the zero width Unicode character. – Hugo May 21 '12 at 13:19

I've come across this a few times and the solution is relatively simple...

I use a zero width Unicode character between the last asterisk and the next character -

a​123

This will also work for B​O​L​D characters...


Here is the zero width character (between the brackets).

(​)

For ease of use, I made myself a little JavaScript bookmarklet that "displays" an alert with the character inside -

javascript: alert("%E2%80%8B");

share|improve this answer
2  
So, the cats and dogs aren't actually living together, but they just look like it? ;-) – Andrew Barber May 21 '12 at 7:56
2  
Unicode animals are not very sociable, but they have to keep up appearances for the other domesticated house pets... So yes... Your assumption is correct. – Lix May 21 '12 at 7:58
2  
"He tossed his auburn mane majestically, and resumed warily eyeing his canine counterpart from across the zero-width Unicode character which separated pack from pride..." I'll stick to my day job, methinks! Hehe – Andrew Barber May 21 '12 at 8:06
    
'Tis a more helpful/elegant answer than those already posted to the duplicate question. Might I motivate you to post it there? – Cody Gray May 21 '12 at 9:08
    
@the - sure, I don't see why not. :P How would you suggest going about it? I don't want to brutally copy-paste across posts... Should I delete this answer and post it there? Thin this answer out and post the full version there? – Lix May 21 '12 at 9:50
    
I'd copy and paste... Does that make me brutal? – Cody Gray May 21 '12 at 9:52
    
Well its the definition of a duplicate post :P This post is already closed so it might not be too bad... Here I go! Thanks for the compliment BTW! – Lix May 21 '12 at 9:53

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