How do I add a code block on here?

How do I add a code block on here?
0
#1

Hello folks,

I wanted to include some code in my post, but I can’t see how to do that. So, how is it possible to do that, please?
Thank you.

0 Likes

#2

You can format code blocks with triple backticks before and after the block like this:

```
  console.log("Hello, world!");
```

I hope that helps. :slight_smile:

2 Likes

#3

Great, thank you, honmanyau. It’s the same as the chatrooms.

0 Likes