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

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

share|improve this question

1 Answer 1

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 .