Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8348282 Add option for syntax highlighting in javadoc snippets
  3. JDK-8356262

Release Note: Add option for syntax highlighting in javadoc snippets

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 25
    • tools

      JavaDoc provides a new zero-argument `--syntax-highlight` option to enable syntax highlighting in `{@snippet}` tags and `<pre><code>` HTML elements in the generated documentation. The option uses the [highlight.js] library in a configuration that supports Java, Properties, JSON, HTML and XML code fragments.

      [highlight.js]: https://github.com/highlightjs/highlight.js

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: