I had no idea there was a hotkey for that. Thank you!
Even better, doing so allows GitHub to insert a source snippet if you paste a link like that into an issue or comment.