The Insertion of codes can be made more easy to use. As a new user, it becomes confusing to use at times

  • Ehm, what? Easier? We have a button for that. And what is your question now? Dec 19, 2013 at 12:12
  • 6
    How? How do you wish it to become easier? Easier than what?
    – Oded
    Dec 19, 2013 at 12:13
  • 4
    I see that you inserted code just fine in this answer on Stack Overflow so really no idea what you're talking about. Dec 19, 2013 at 12:14
  • @Oded Maybe he wants an auto detector that detect when you type code and auto-formats it for you ;P
    – Walker
    Dec 19, 2013 at 12:16
  • 2
    @ChristmasUnicorn - so, not a direct brain interface?
    – Oded
    Dec 19, 2013 at 12:18
  • @Oded maybe. ;P
    – Walker
    Dec 19, 2013 at 12:19
  • 1
    @Oded - Sounds like Skeet's been beta-testing that. Dec 19, 2013 at 16:07

1 Answer 1


The easiest way to insert code blocks, is to use the shortcut Ctrl+K. If you want a code block, press enter, then Ctrl+K, and then you can write your code block. If you want an inline code span like this, then don't press enter, but just Ctrl+K.

This way looks like a very easy way, if you think there is an easier way, then please provide which way.

  • 2
    Maybe by sending a telepathic command? Dec 19, 2013 at 12:15
  • 1
    The second way won't work when there are multiple lines of code. You should do this instead: 1) Press enter 2) Select the code block 3) Press Ctrl + K. Dec 19, 2013 at 12:29

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