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.
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).