[foreign-memaccess+abi] RFR: 8277945: Use snippets in jdk.incubator.foreign API documentation

Athijegannathan Sundararajan sundar at openjdk.java.net
Tue Nov 30 03:57:19 UTC 2021


On Mon, 29 Nov 2021 16:51:06 GMT, Julia Boes <jboes at openjdk.org> wrote:

> This change replaces `<pre>{@code ...}</pre>` blocks with the new `@snippet` tag.

Should we add lang=java to snippets? That'll help in syntax colouring using third-party js+css.

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

PR: https://git.openjdk.java.net/panama-foreign/pull/621


More information about the panama-dev mailing list