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

Currently I use Ctrl+K keys for code formatting. Is there any other elegant style for Stack Overflow posts?

share|improve this question
up vote 2 down vote accepted

What's problem with Ctrl+K key for code formatting? And this is the only key for code formatting. And yes, you can also use {} button instead of Ctrl+K. Or you can manually write code inside <code> or <pre> tag. And yes, you can test formatting in Formatting Sandbox.

See Markdown help for more and advanced markdown related help.

share|improve this answer
    
I didn't know about <kbd> tag. Where is it listed ? – Priyank Doshi Nov 30 '12 at 4:39
    
@PriyankDoshi - See the updated answer. – hims056 Nov 30 '12 at 4:40

You must log in to answer this question.

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