Integrated: 8318693: Fix rendering for code blocks nested under list items in building.md

Zixian Cai zcai at openjdk.org
Tue Oct 24 14:39:48 UTC 2023


On Tue, 24 Oct 2023 02:45:41 GMT, Zixian Cai <zcai at openjdk.org> wrote:

> Currently, code blocks under list items are rendered in a single line, which is difficult to read and copy.
> For example, see below from https://htmlpreview.github.io/?https://raw.githubusercontent.com/openjdk/jdk/master/doc/building.html#building-for-risc-v 
> ![Screenshot 2023-10-24 at 13 46 03](https://github.com/openjdk/jdk/assets/2891235/fc9f1472-74a8-451f-b797-66973b4ec81c)
> 
> After fix
> ![Screenshot 2023-10-24 at 13 47 49](https://github.com/openjdk/jdk/assets/2891235/b11027c1-bbdc-47c2-b209-976b86865fcc)

This pull request has now been integrated.

Changeset: 54c613ac
Author:    Zixian Cai <zcai at openjdk.org>
Committer: Conor Cleary <ccleary at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/54c613acd7a7f051e65d73a1318346cb4f5a234a
Stats:     83 lines in 2 files changed: 39 ins; 5 del; 39 mod

8318693: Fix rendering for code blocks nested under list items in building.md

Reviewed-by: erikj, ccleary

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

PR: https://git.openjdk.org/jdk/pull/16332


More information about the build-dev mailing list