At first, copy the wanted lines.
Extend the file by two newlines at the end. Then, select the ":" after level3 and press CMD+d a few times to select the following colons.
Next, press the down arrow one time, then hold shift and press the down arrow again.
Paste.