Page 1 of 1

The code tag does not work

Posted: Tue Jul 04, 2017 7:32 pm
by Venus
I just had to find out that the code tag does not work anymore

Code: Select all

code line 1
code line 2
Formatting is lost and line numbers aren't shown. I looked up some old posts with code snippets. They are all broken. Some of them used bb code to highlight things and that too doesn't work anymore.

Re: The code tag does not work

Posted: Wed Jul 05, 2017 4:50 pm
by Sissy Elise
You can use
[spolier]
and
[pre]
tags to make it easier to read whilst
[code]
tags are not working properly

eg:
Spoiler: show
<?php
    $world = "world";
    $hello = "Hello";
    if($world!="world")
    {
        echo "The world collapsed."
    }
    else
    {
         echo $hello." ".$world;
    }
?>