Posted by Frank on September 10, 2008
Below is an example of my Code Higlighter that I will release this week.
CSS Code
|
|
|
@import url("main.css");
|
|
h3, .head2 {
|
|
font-family: "Sans-Serif";
|
|
font-weight: bold;
|
|
color: #336699 !important;
|
|
}
|
|
@media screen, print {
|
|
pre { margin: 0px 10px 10px; }
|
|
h1 { font-size: 14px; padding-top: 10px; }
|
|
}
|
(x)HTML Code
|
<style> headline {font-size: 24pt;} </style>
|
|
|
|
<td><p><a href="link">Plain Text </a>
|
|
<img src="image" width="15" />
|
|
</p><form action="action.pl">
|
|
<input type="submit" value="Press Me" />
|
|
</form>Text</td>
|
XML Code
|
<scheme name="XML" doctypes="XML" priority="50">
|
|
<ignoreCase>Yes</ignoreCase>
|
|
<defaultText MMString:name="Text/scheme/name" />
|
|
<defaultAttribute name="Attribute" />
|
|
</scheme>
|
Also comments will be automaticaly highlighted:
CSS Code
(x)HTML Code
XML Code