Forum improvement - improved [code] tags

Posted by Nick Gammon on Sat 22 Aug 2009 02:01 AM — 1 posts, 7,107 views.

Australia Forum Administrator #0
The [code] tag has been improved. Using a stylesheet it now displays slightly indented, with a different colour background, and a border.

Example:

[code]
<triggers>
<trigger
custom_colour="2"
enabled="y"
expand_variables="y"
match="* is closed."
sequence="100"
>
<send>open @direction</send>
</trigger>
</triggers>
[/code]

... displays as:


<triggers>
  <trigger
   custom_colour="2"
   enabled="y"
   expand_variables="y"
   match="* is closed."
   sequence="100"
  >
  <send>open @direction</send>
  </trigger>
</triggers>


If you don't see a box and different colour background, refresh your page (Reload Page) in your web browser to force it to reload the style sheet.