Login Register






Syntax Highlighting + How-to filter_list
Author
Message
Syntax Highlighting + How-to #1
Syntax Highlighting works like this;

[Image: eSy89Uh.png]

[Image: bikb.png]

Spoiler:
[code=vbnet]
Dim TxtString as New String = "Hey"
[/code]

[code=php]
<?php
echo "Hey there!";
?>
[/code]

[code=html]
<html>
<body>
<h1>Hey!</h1>
</body>
</html>
[/code]

[code=csharp]
string TheText = "Hey There!";
MessageBox.Show(TheText);
[/code]

[code=javascript]
if(!Array.prototype.pop) {
Array.prototype.pop = function() {
lastElement = this[this.length-1];
this.length = Math.max(this.length-1,0);
return lastElement;
}
}
[/code]

[code=css]
body {
background: #efefef;
color: #000;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
text-align: center; /* IE 5 fix */
line-height: 1.4;
}
[/code]

[code=xml]
<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
[/code]
(This post was last modified: 08-03-2013, 07:16 AM by Oni.)
[Image: GiXvY27.png]