THE DEV BENCH
📄 YAMLmedium

5. A multi-line block scalar

Write YAML with a key "script" whose value is a literal block (using |) containing exactly these two lines: echo hello echo world

How to approach this

The literal block scalar `|` keeps newlines as-is — perfect for embedding a shell script or a multi-line message. Put `key: |` then indent the block's lines beneath it. (Its cousin `>` folds newlines into spaces.) The parsed value is a single string with a \n between the lines.

config.yaml