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.
What is meta?
- Any Stack Exchange user can ask a question
- The community provides support, votes on ideas, and reports bugs
- Your voice helps shape the way Stack Exchange operates
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
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
(A code block).