Stack Overflow has a button you can press to indent a block of text four spaces so Markdown will treat it as code. GitHub uses Markdown, too, but does not seem to have formatting buttons.Does GitHub have a keyboard shortcut or button to indent a block of code? Or will I have to copy the code to a text editor, indent it, and paste it back in?
Github shortcut for formatting code sample
github