Improve your Website (especially Code in the forums)

gael.tarot's picture

Hello, we are on a forum for IT people, so there are many needs to copy-paste large amounts of Java/Groovy code in the different forums. I don't know if it's just me, but it's almost impossible to add a well indented code with the currently available tools.

3 times on 4, only "Code block" button is working, but all my code is put in only one line!
So I have to declare my code as a "quote", but there is no syntax coloration, and the code is really big.


Submitted by Sean McP on Sun, 04/03/2016 - 07:45

The easiest way of doing code blocks Is by using

< code >
< / code>

Removing the spaces then you get proper code (still not indented) but it is clearer, and has colour coding...


Ps: that being said, yes it would be nice if the buttons actually worked correctly

Submitted by antoine.mottier on Mon, 05/15/2017 - 10:38

This issue with block code formatting on the forum is now fixed!