itextdoc has been updated to version 2.0.0
2.0.0 introduces a code styler module. This module styles Java code by colouring it like in your IDE.
By adding the attribute code=”java” to a tag, the inner text is seen as Java code. It is even possible to include a file through a new tag.
The <codepart> tag.
With the codepart tag you can designate a file that will not be seen as html and hence will not be parsed as such but for example as Java code a.
will do the trick.
Thank you.
Thanks
thank you!