Jump to content
LegacyGT.com

[code]...[/code] not working


Recommended Posts

Working for me. :)

 

^ Test.

<-- I love Winky, my "periwinkle" (ABP) LGT! - Allen / Usual Suspect "DumboRAT" / One of the Three Stooges

'16 Outback, '16 WRX, 7th Subaru Family

Link to comment
Share on other sites

Yea, it definitely doesn't work. Neither does

 or [html]... it's too bad. Context highlighting would be cool. You do however have full formatting capabilities, so you could do it by hand... so this example could look something like this:

[code]
<script type="text/javascript">
<!--
alert("Hello world!");
//-->
</script>
[/code]

[indent][color=royalblue][color=black]<[/color]script type[/color][color=black]="[/color][color=seagreen]text/javascript[/color][color=royalblue][color=black]"[/color][/color][color=black]>[/color]

[color=red]<!--

[/color] [color=royalblue]alert[/color][color=black]("[/color][color=seagreen]Hello world![/color][color=black]");[/color]

[color=red]//-->

[/color][color=royalblue][color=black]</[/color]script[/color][color=black]>[/color]

[/indent]

[CENTER][URL="http://legacygt.com/forums/showthread.php?t=18504"]Subaru Plug & Play Aux-in Mod[/URL][/CENTER] [CENTER][URL="http://www.jazzyengineering.com"]www.jazzyengineering.com[/URL][/CENTER]
Link to comment
Share on other sites

']No' date=' it isn't. You didn't use it in your post and I don't know what your point is.[/quote']

 

Ah! Nevermind - I misunderstood your post! :)

<-- I love Winky, my "periwinkle" (ABP) LGT! - Allen / Usual Suspect "DumboRAT" / One of the Three Stooges

'16 Outback, '16 WRX, 7th Subaru Family

Link to comment
Share on other sites

didn't think we needed to chat about code here? i can enable it, what's it worth to yah. :p
Could you also enable PHP & HTML? It looks like they're the only ones that syntax highlight. Thanks Tide! :)
[CENTER][URL="http://legacygt.com/forums/showthread.php?t=18504"]Subaru Plug & Play Aux-in Mod[/URL][/CENTER] [CENTER][URL="http://www.jazzyengineering.com"]www.jazzyengineering.com[/URL][/CENTER]
Link to comment
Share on other sites

I'd rather not, why are they needed?
Well, they're not really needed, none of them are. I just think the PHP & HTML tags are more useful than the code tag because they automatically highlight/color the code depending on the syntax, which makes it easier to read. The code tag just places it in a block...not much more useful than a quote tag. See what I mean in my above post?

 

Code tags look like this:

<script type="text/javascript">
<!--
alert("Hello world!");
//-->
</script>

 

I'm hoping PHP tag would help that look more like this:

[color=royalblue][color=black]<[/color]script type[/color][color=black]="[/color][color=seagreen]text/javascript[/color][color=royalblue][color=black]"[/color][/color][color=black]>[/color]
[color=red]<!--
[/color][color=royalblue]alert[/color][color=black]("[/color][color=seagreen]Hello world![/color][color=black]");[/color]
[color=red]//-->
[/color][color=royalblue][color=black]</[/color]script[/color][color=black]>[/color]

But do it automatically instead of having to color it by hand like I did here.

[CENTER][URL="http://legacygt.com/forums/showthread.php?t=18504"]Subaru Plug & Play Aux-in Mod[/URL][/CENTER] [CENTER][URL="http://www.jazzyengineering.com"]www.jazzyengineering.com[/URL][/CENTER]
Link to comment
Share on other sites

Archived

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



×
×
  • Create New...

Important Information

Terms of Use