What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

String

String

So let's say this is a question on SO, and I'm asking something about the String class. You'll notice that in the previous sentence "String" has the normal font, I'd like it to have the same font as it would if it were in a code block.

I've seen other posts do this, so I know it's possible.

share|improve this question
    

1 Answer 1

up vote 5 down vote accepted

You can use a backtick '`' to achieve this effect.

This String is in code font!

Source:

This `String` is in code font!

The backtick is below the tilde on my keyboard.

share|improve this answer
2  
cool thanks a lot! –  user136507 Sep 28 '09 at 17:48

You must log in to answer this question.

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