Iris Syntax Highlighter
Posted on July 27, 2008I found this cool syntax highlighter Iris yesterday. Not sure how I missed this one in my quest for syntax highlighters. I've used Wilco Bauwer's(as of the time of this posting, Wilco's site was having some issues) tools which are cool,and squishyware was cool too.
At some point yesterday, I clicked into this blog post by Gustavo Duarte. The post had nothing to do with syntax highlighting but after poking around the site I noticed Iris was one Gustavo's projects so I checked it out. It totally trumps the other two highlighters I was using so I integrated it last night into my blog software. Since I highlight code on the fly, all of my code examples have picked up the new flavor of highlighting.
I like how it separates the line numbers from the code, that way when you select the code you don't get the line numbers too.
Here's some SQL:
select first_name, last_name
from customer
where last_name like 'c%'
| |
1
2
3
|
And Html:
<table>
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
</tr>
</thead>
</table>
| |
1
2
3
4
5
6
7
8
|
And of course C#:
public class Customer{
public int ID{ get; set; }
public string FirstName{ get; set; }
public string LastName{ get; set; }
public void SayHello(string name){
Console.WriteLine("Hello {0}!", name);
}
}
| |
1
2
3
4
5
6
7
8
|
Anyway, it's a cool tool, check it out. Since I found the tool useful, I made a small donation to the children in Uganda via ICCF Holland per the suggestion by the Iris team.