Page 1 of 1

Use of the <code> tag

Posted: Sun Dec 09, 2007 5:46 pm
by kjwieringa
I have posted (9 dec) a reaction in the forum on problem 155. I used the <code> and </code<> tags to mark my Delphi program codes, but it is not showed in the way that I see it in other peoples reactions, i.e. with a box with 'Show Code' on which tou can click to see the code. My code is displayed the same way as normal text, despite the use of tags. Can anyone tell me what I might have done wrong?

Re: Use of the <code> tag

Posted: Sun Dec 09, 2007 6:07 pm
by daniel.is.fischer
Use square brackets instead of angle brackets, [ code ] and [ /code ] (without the spaces).

It works

Posted: Sun Dec 09, 2007 7:53 pm
by kjwieringa
Daniel,

Thank you very much.
Now my code is shown properly.