RFR: JDK-8298405: Support Markdown in Documentation Comments [v32]

Jonathan Gibbons jjg at openjdk.org
Thu Feb 15 19:46:07 UTC 2024


On Thu, 15 Feb 2024 19:39:07 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> whitespace is handled separately, on line 280 (`readIndent`) and285 (`: (indent <= 3) ? peekLineKind()`)
>
> Correct, but I believe the ordered list marker should be like this:
> 
>     ORDERED_LIST_ITEM(Pattern.compile("[0-9]{1,9}[.)] .*"))
>                                                      ^
> 
> Note extra whitespace character. I think we should really add this to our tests, since lists are foundational Markdown structures, probably right after italics and bold.

My recollection is that the space is required.   I will double check.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16388#discussion_r1491552312


More information about the build-dev mailing list