Results 1 to 1 of 1
- 10-21-2010, 09:41 AM #1
Member
- Join Date
- Oct 2010
- Posts
- 2
- Rep Power
- 0
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
Similar Threads
-
Syntax error in eclipse for "enum" defination.
By gunwantw in forum EclipseReplies: 1Last Post: 07-08-2010, 09:21 AM -
Syntax error on token "(", ; expected
By baltimore in forum AWT / SwingReplies: 3Last Post: 10-28-2009, 12:19 AM -
Syntax error on token "(", ; expected
By romilc in forum New To JavaReplies: 7Last Post: 10-24-2009, 01:23 AM -
Unfamiliar Syntax "int x = i1 << 24 | i2 ..."
By KentDMc in forum New To JavaReplies: 5Last Post: 04-11-2009, 03:21 AM -
the dollar sign "$", prints like any other normal char in java like "a" or "*" ?
By lse123 in forum New To JavaReplies: 1Last Post: 10-20-2008, 07:35 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks