top | item 21592814

(no title)

jschuur | 6 years ago

You can exit a code block by hitting Command Option Shift C. I found this out by hovering over the code block icon in the bar below the editor box.

The trick seems to be to add a blank final line, otherwise, it will not include the last line you typed in a code block.

discuss

order

pulse7|6 years ago

So in other words: you still need to be "tech savvy" to do this...

mdaniel|6 years ago

Only if you care about that level of specificity of the results; and given that non-technical people love pasting code snippets into slack without the code fences, I'm guessing this change isn't even wanted by non-technical people, and only made detail-oriented folks upset

djsumdog|6 years ago

You don't need the key combo, just as you said, you just need another line, with text or a blank line. I guess before now you could but them right back-to-back? This has never been my use case, but if it was, I can see how this is annoying.