How to post code

Hi All
Not posted here before and having a small problem.
I read about using </> for posting code and indeed used it OK but how do I exit the Preformatted Text box and complete the rest of the post?
Thanks
Mike

When you press the button </> (or CTRL+E on your keyboard) you get the following text pasted in:

```
type or paste code here
```

Delete the line “type or paste code here” and paste in your code so it is enclosed by an opening and closing line with ```. Text outside this block will be formatted as normal post.

You can also use inline pre-formatted text if you sourround the part by single `:

The word `inline` will be pre-formatted

The word inline will be pre-formatted