#### Archived

This topic is now archived and is closed to further replies.

# how can i embed my codes here

## Recommended Posts

tonymontana    100
how can i embed my codes here. i wantto ask a question about pointers??? the archer who shoots his arrow beyond his target is no more successful than the one who''s arrow didn''t even reach the target.

##### Share on other sites
Toolmaker    967
It's pretty easy.

To create a plain code field,
Like this one, you just have to use Code here  

Or use
For a source field with syntax highlight use<source> Code </source>

Don't forget to replace the < with [ and > with ]
Toolmaker

-Earth is 98% full. Please delete anybody you can.

[edited by - toolmaker on January 23, 2004 9:40:57 AM]

##### Share on other sites
Agony    3452
Not to act like I''m better than Toolmaker, but just to clarify the tags (using &#91; for [ and &#93; for ]):

[code][/code] is for code that might be just a line or two long. Primarily, it just makes the lines not wrap and the font fixed-width.

[source][/source] is for larger blocks of code. They get stuck inside the white boxes.

##### Share on other sites
Toolmaker    967
quote:
Original post by Agony
Not to act like I''m better than Toolmaker, but just to clarify the tags (using &#91; for [ and &#93; for ]):

Thx, I didn''t bother finding the character numbers myself ^_^.