Everything posted by Jonathan.M
As it so happens the code I usually paste usually contains fenced code blocks itself (long story) so I've got to use the indent method ... I do use my code editor today, but it's just such a pain (create new buffer in code editor, paste into code editor, block indent, copy from code editor, close buffer, paste to browser...) Maybe I'll take a crack at it myself. 🙂 Thanks for the reply!
Several times a day, I paste code into Markdown, e.g. on Github issues. Of course it's pasted exactly as-is, which means that I have to manually add 4 spaces to each line in order for it to be treated as a code block. It'd be great if there were a workflow which would paste the code, prepending 4 spaces to each line in the process. Does this exist? It seems trivial, but I couldn't find anything out there.