N3 Language Definitions for source-highlight

I just found I had to include some RDF files in the appendix of my thesis, going with the "normal people shouldn't ever have to see RDF/XML" line I will include it as N3 (which also makes sense since that's how I wrote it).

source-highlight helped me typeset beautiful prolog before, but lacks a language definitions for N3. Luckily the definition langauge is simple, and by steal definitions left-right and center this only took 20 miniutes.

I give you: the n3.lang file, example output for html, and for latex here as PDF.

Post a comment.