-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 25
-
Component/s: tools
JavaDoc provides a new `--syntax-highlight` option to enable syntax highlighting in `{@snippet}` tags and `<pre><code>` HTML elements. The option takes no arguments and adds the [Highlight.js] library to the generated documentation in a configuration that supports Java, Properties, JSON, HTML and XML code fragments.
[Highlight.js]: https://github.com/highlightjs/highlight.js
[Highlight.js]: https://github.com/highlightjs/highlight.js