RFR: JDK-8298405: Support Markdown in Documentation Comments [v14]
Jonathan Gibbons
jjg at openjdk.org
Wed Jan 31 23:49:25 UTC 2024
> Please review a patch to add support for Markdown syntax in documentation comments, as described in the associated JEP.
>
> Notable features:
>
> * support for `///` documentation comments in `JavaTokenizer`
> * new module `jdk.internal.md` -- a private copy of the `commonmark-java` library
> * updates to `DocCommentParser` to treat `///` comments as Markdown
> * updates to the standard doclet to render Markdown comments in HTML
Jonathan Gibbons has updated the pull request incrementally with one additional commit since the last revision:
address review feedback for MarkdownTransformer `label.replace("\\[\\]", "[]");`
add corresponding test case in TestMarkdown.java
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16388/files
- new: https://git.openjdk.org/jdk/pull/16388/files/71ce4b16..586daddf
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16388&range=13
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16388&range=12-13
Stats: 60 lines in 2 files changed: 60 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/16388.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16388/head:pull/16388
PR: https://git.openjdk.org/jdk/pull/16388
More information about the compiler-dev
mailing list