# Merge pasted preformatted text =\> code block in the new composer when there is only a space as separator

**URL:** https://meta.discourse.org/t/merge-pasted-preformatted-text-code-block-in-the-new-composer-when-there-is-only-a-space-as-separator/381441
**Category:** Feature
**Tags:** composer
**Created:** [September 3, 2025, 3:16pm UTC](https://meta.discourse.org/t/merge-pasted-preformatted-text-code-block-in-the-new-composer-when-there-is-only-a-space-as-separator/381441 "2025-09-03T15:16:19Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [September 17, 2025, 6:07am UTC](https://meta.discourse.org/t/merge-pasted-preformatted-text-code-block-in-the-new-composer-when-there-is-only-a-space-as-separator/381441/3 "2025-09-17T06:07:21Z")

</div>

I did multiple code blocks just 5 minutes ago. Quite normal way to do in minimum level when giving usage examples.

> **Just an example**
>
> ```plaintext
> sudo nano /usr/local/bin/docker-ips
> 
> ```
> 
> ```plaintext
> #!/bin/bash
> # show IPs of containers/gateways and network ID (short form)
> 
> if [$# -eq 0]; then
> containers=$(docker ps -q)
> else
> containers=$(docker ps -qf "name=$1")
> fi
> 
> for cid in $containers; do
> cname=$(docker inspect --format '{{.Name}}' "$cid" | sed 's|/||')
> echo "=== $cname ==="
> docker inspect -f '{{range $net,$v := .NetworkSettings.Networks}}Verkko: {{$net}}
> Kontin IP: {{$v.IPAddress}}
> Gateway: {{$v.Gateway}}
> VerkkoID: {{printf "%.12s" $v.NetworkID}}{{"\n"}}{{end}}' "$cid"
> done
> 
> ```
> 
> ```plaintext
> sudo chmod +x /usr/local/bin/docker-ips
> 
> ```

I don’t use rich editor anywhere but in my phone, but normally we can’t get empty lines without `<br>` so then there should be meaningless text 🤔

---

_[View the full topic](https://meta.discourse.org/t/merge-pasted-preformatted-text-code-block-in-the-new-composer-when-there-is-only-a-space-as-separator/381441)._
