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

Here by highlighting, I mean this. Is there any keyboard shortcut for this. I didn't find any info about this anywhere. I know I can do this by placing them inside two sqiggle. A shortcut would be helpful.

share|improve this question
    
You can see the keyboard shortcuts in the tooltips in the editor: just hover with the mouse over the tool, and knowledge will come your way ;-) – Fredrik Mörk Mar 22 '11 at 11:45
up vote 5 down vote accepted

You can use the Ctrl + K shortcut to get either code blocks or code spans.

When you select a portion of a single line of text, Ctrl + K surrounds the selected text with backticks to give you this (A code span).

When you select an entire line of text or across multiple lines of text, Ctrl + K indents each selected line(s) by four spaces to give you

this

(A code block).

share|improve this answer

You must log in to answer this question.

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