Improve visibility of code-text links

What does this MR do and why?

When text styled as code (like this) is wrapped in a link, it is difficult to tell that the text is clickable. This MR makes code-text links more visible by lightening the background color of code text and keeping the standard link text color. (issue #544 (closed))

Note: the lighter background color applies to all inline text that is styled as code.

before after
Screenshot_2025-12-01_at_1.08.37_PM Screenshot_2025-12-05_at_9.23.28_AM

Review app: https://docs.gitlab.com/review-mr-1603/ci/pipelines/downstream_pipelines/#run-child-pipelines-with-merge-request-pipelines

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Configure a local GitLab Docs environment.
  2. Check out this branch or view the review app:
  3. Verify that code-styled links are perceivable as links.

Merge request acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #544 (closed)

Edited by Pearl Latteier

Merge request reports

Loading