On Thu, 3 Apr 2025 14:48:58 GMT, Hannes Wallnöfer <hann...@openjdk.org> wrote:
> Please review a change to add a `javadoc` option to enable syntax > highlighting for code fragments in snippets and `<pre><code>` tags. The new > `--syntax-highlight` option uses the [highlight.js] JavaScript library and > supports Java, Properties, XML, HTML and JSON. The option is enabled in the > JDK API docs target, [generated output is available > here](https://cr.openjdk.org/~hannesw/8348282/api.00/index.html). This pull request has now been integrated. Changeset: b0c3485d Author: Hannes Wallnöfer <hann...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/b0c3485d6c911898b1ac07eccfe7d2b2668144cc Stats: 3530 lines in 13 files changed: 3516 ins; 3 del; 11 mod 8348282: Add option for syntax highlighting in javadoc snippets Reviewed-by: liach, nbenalla, erikj ------------- PR: https://git.openjdk.org/jdk/pull/24417