Use of the <code> tag

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
kjwieringa
Posts: 2
Joined: Sun Dec 09, 2007 5:32 pm
Location: Leeuwarden (the Netherlands)

Use of the <code> tag

Post 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?
User avatar
daniel.is.fischer
Posts: 2400
Joined: Sun Sep 02, 2007 11:15 pm
Location: Bremen, Germany

Re: Use of the <code> tag

Post by daniel.is.fischer »

Use square brackets instead of angle brackets, [ code ] and [ /code ] (without the spaces).
Il faut respecter la montagne -- c'est pourquoi les gypa&egrave;tes sont l&agrave;.
kjwieringa
Posts: 2
Joined: Sun Dec 09, 2007 5:32 pm
Location: Leeuwarden (the Netherlands)

It works

Post by kjwieringa »

Daniel,

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