Do you hate having to indent your Stack Overflow code with four spaces? ***I do!*** Instead, prepare your answer using this editor, and indicate code blocks using backticks! Like this: ``` [1, 2, 3].map { |x| x**2 } puts "the #{solution}" ``` Then, when you click the button below, we'll automatically transform your backtick-delimited codeblocks to space-indented codeblocks and copy that to your clipboard. Paste that into Stack Overflow, and you're done!
Copy to clipboard in Stack Overflow format