Release post 13 8 update package nuget code format
This suggested change is a workaround to prevent the 13.8 release post secondary items from dynamically resizing to fit the content in the code
blocks in this example.
The issue here is that the code
block won't wrap text without a space in it, namely:
"https://gitlab.example.com/api/v4/projects/<your_project_id>/packages/nuget/index.json"
"https://gitlab.example.com/api/v4/projects/<your_group_id>/packages/nuget/index.json"
This change adds newlines to force the code to wrap.
I also looked at adding images, but our release post supports a single image per post, and there are two code
blocks here.
Before:
The length of the URL means one of the columns takes up more width.
After
The width issue is resolved (this screenshot taken locally, that's why this item appears on the left now - that is unrelated to this change)
Compare
- the review app for the release post: https://release-13-8.about.gitlab-review.app/releases/2021/01/22/gitlab-13-8-released/index.html#install-nuget-packages-from-your-group-or-subgroup (MR: !71046 (closed))
- the review app for this MR: https://release-post-13-8-update-package-nuget-code-format.about.gitlab-review.app/releases/2021/01/22/gitlab-13-8-released/index.html#install-nuget-packages-from-your-group-or-subgroup
Edited by Phil Calder