Syntax highlighting with "ignore"
Hi,
I'm looking for a framework that can convert Java, C++ and xml code into html code with syntax highlighting.
This alone would be easy, the problem is, that I need this parser to be able to ignore (not parse) certain parts of my code, if i have the following java code:
public void Foo(){
return;
<ignore>blabla</ignore>
}
it should not parse the ignore tags, only add the content of them as plain text.
So what i basically need is some way of "escaping" code, so it won't be parsed, only added the way it is.
This is needed because i have to add some html links to the code before it is parsed (i can't do that later on)
does anyone have an idea?
thanks in advance