gniezen / n3pygments

Pygments lexer to perform syntax highlighting for N3, Turtle and SPARQL
BSD 2-Clause "Simplified" License
23 stars 6 forks source link

[Feature request] RDFa lexer #3

Open jodischneider opened 11 years ago

jodischneider commented 11 years ago

An RDFa lexer would be a welcome addition. Any thoughts on that?

uholzer commented 11 years ago

I don't know much about RDFa, but shouldn't an XML or HTML lexer be enough to handle RDFa reasonably?

jodischneider commented 11 years ago

I had asked about it on semweb answers but so far it seems XML/HTML lexer might be the standard approach. Nobody has pointed out a more specific format--for instance to distinguish S-P-O and make coloring consistent with output from the Turtle lexer.