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

share|improve this question
add comment

1 Answer

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
add comment

You must log in to answer this question.

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