"Code: Select all" feature in Discourse

Hi all,
am missing the " Code: Select all" feature from phpBB a little. Copied and pasted code is also a little out of format.

Best,

Erik

And? LOL

Have you tried using our nopaste?

What :grimacing: is this :roll_eyes:

Test code ABC

I guess this is easy to select and copy…

What is this and what does it do? There are code blocks with syntax highlighting. (I am not sure what programming languages are currently enable in this Community.) Is that different?

#!/bin/bash
#
#  iptables SYNPROXY target usage example

#export IPTABLES_CMD=
default_ipt_cmd="/usr/local/sbin/iptables"

if [ "$EUID" -ne 0 ]; then
    # Can be run as normal user, will just use "sudo"
    export su=sudo
fi
...
```
code
```

-or-

````bash (or python or many others)
code
```

Markdown should always detect this automatically - or rather the syntax highlighter being used. It sometimes only goes wrong for small snippets.