steps: handle multi-line code blocks with grace