-
Enhancement
-
Resolution: Unresolved
-
P3
-
25
-
None
-
In Review
-
generic
-
generic
While it is possible to add syntax highlighting using the `--add-script` and `--add-stylesheet` options, we should also provide a simple one-stop option to enable syntax highlighting for code fragments in snippets and `<pre><code>` tags. The option should should support Java and formats commonly used with Java such as Properties, JSON, XML and HTML. The `lang` attribute can be used to determine the language for snippets. For `<pre><code>` tags that do not provide a language attribute auto-detection of language can be used.
- csr for
-
JDK-8352691 Add option for syntax highlighting in javadoc snippets
-
- Closed
-
- links to
-
Review(master) openjdk/jdk/24417