Code::Blocks

User forums => Using Code::Blocks => Topic started by: Jinesh on July 28, 2020, 06:19:35 pm

Title: How do you post a block of code
Post by: Jinesh on July 28, 2020, 06:19:35 pm
Hello everyone,,

Downvote this;

https://speedtest.vet/ (https://speedtest.vet/) https://vidmate.bid/ (https://vidmate.bid/) https://wordtopdf.ltd/ (https://wordtopdf.ltd/)

I can't seem to do it, I'm using 'new reddit' so the four spaces format dosent work. I've heard you need to use 3 backticks. I tried doing it like this:



```



console.log('hi')



```



to no avail.
Title: Re: How do you post a block of code
Post by: Miguel Gimenez on July 28, 2020, 06:26:20 pm
You can write tags similar to html ones (use square brackets):

(code)
Your code here
(/code)