   How to post code on gamedev?
  Just a simple question: how ot post code and get coloured syntax? With  tags, you don't get coloured syntax.
  It's in the FAQ: use [source] tags.   ;Quote:Original post by ToohrVykIt's in the FAQ: use [source] tags.I wondered how you could post that without opening the source tag. By quoting you, I saw it. But now I wonder... how you can you post that thing with the exclamation point and the hyphens? How do you escape that? :)   ;Quote:Original post by DevFredI wondered how you could post that without opening the source tag. By quoting you, I saw it. But now I wonder... how you can you post that thing with the exclamation point and the hyphens? How do you escape that? :)You mean, <!-- --> ? (And that is known as an XML comment, and it's hidden by your browser).   ;  As an aside, you can go to edit someones post to see what HTML and bbcode they used in their post. You just won't be able to submit those changes unless you're a mod.   ;Quote:Original post by Evil SteveAs an aside, you can go to edit someones post to see what HTML and bbcode they used in their post. You just won't be able to submit those changes unless you're a mod.yeah - I looked at source code of webpage, but it looked like a bunch of xml tags, so I figured out it would be easier to ask.sorry for not looking at FAQ.thnks for answers   ;Quote:Original post by Evil SteveAs an aside, you can go to edit someones post to see what HTML and bbcode they used in their post. You just won't be able to submit those changes unless you're a mod.Ha ha, by editing your post I can see the extra icons you GDnet+ people are privy to.   ;Quote:Original post by joe_bubamaraQuote:Original post by Evil SteveAs an aside, you can go to edit someones post to see what HTML and bbcode they used in their post. You just won't be able to submit those changes unless you're a mod.yeah - I looked at source code of webpage, but it looked like a bunch of xml tags, so I figured out it would be easier to ask.Not the webpage source. Click the 'edit' button next to someone's post.Quote:Original post by DevFredI wondered how you could post that without opening the source tag. By quoting you, I saw it. But now I wonder... how you can you post that thing with the exclamation point and the hyphens? How do you escape that? :)EDIT: That doesn't seem to be escapable by normal HTML means. Curses!I usually illustrate [source] tags this way. But I think I'll have to switch to ToohrVyk's way - it has the advantage that it doesn't get un-escaped when someone tries to quote your post. Or when you edit your own post - as I just reminded myself >_<   