RFR: 8325168: JShell should support Markdown comments
Jan Lahoda
jlahoda at openjdk.org
Mon Mar 25 20:06:33 UTC 2024
On Fri, 2 Feb 2024 14:02:28 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> This is an attempt to add Markdown support in documentation comments to JShell.
>
> It works by converting the Markdown text to HTML during the process of resolving `{@inheritDoc}` tags.
Thanks for the comments! I've dropped the `ToHTML` transformer, and made the transformations easier. Sadly, the standard transformer seems to break raw text tree positions, so it is not currently possible to properly replace the Markdown text with the Javadoc text when the transformer is installed. Please see:
https://github.com/openjdk/jdk/pull/16388#discussion_r1479306878
for more details. Once that is solved, it should be possible to merge the newest changes in the Markdown branch.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17686#issuecomment-1928909938
More information about the compiler-dev
mailing list