Indent with 4 spaces at the start of each line for code blocks.
On macOS:
pbpaste | sed 's/^.*$/ &/' | pbcopy pbpaste | awk '{print " "$0}' | pbcopy
Although this also seems to do the same thing pbpaste | sed 's/^/ &/' | pbcopy