Author Topic: How to post code blocks?  (Read 1819 times)

Offline Jimorie

  • Friend
  • **
  • Posts: 58
    • View Profile
How to post code blocks?
« on: October 24, 2006, 02:17:51 AM »

Hello!



I don't love this forum software, but I use it anyway. I was looking around and couldn't find any documentation for it on this site, am I missing it?



What I really wanted to know was how to post those nifty code blocks that I've seen other being able to produce in their posts. Thanks guys!


Offline detah

  • BFF
  • ***
  • Posts: 190
  • Ruler of 2D
    • View Profile
How to post code blocks?
« Reply #1 on: October 24, 2006, 06:12:12 AM »
Use the  < code> and < / code> tags, without the spaces.



Then you can propose really cool code additions to every room in your mud like:



code:

read_sign(arg) {
  if(arg=="sign")
    write("Detah is awesome.");
  return 1;
}

Offline Jimorie

  • Friend
  • **
  • Posts: 58
    • View Profile
How to post code blocks?
« Reply #2 on: October 24, 2006, 11:59:55 AM »
code:
Thanks! :P