Skip to content

Fix Markdown not rendering in CI/CD Catalog

What does this MR do and why?

We had not added the md class to the CI/CD Catalog, so the markdown was not rendered correctly. We are adding this class and it fixes the visual issues.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-01-09_at_10.47.20_AM Screenshot_2024-01-09_at_10.47.12_AM

How to set up and validate locally

  1. Generate CI/CD Catalog resource with the seeder: bundle exec rake "gitlab:seed:ci_catalog_resources[Twitter, 1]"
  2. Edit the ReadME file with markdown
  3. Go to Explore -> CI/CD Catalog
  4. Click on your new resource
  5. Notice the markdown renders correctly.

Related to #431899 (closed)

Edited by Frédéric Caplette

Merge request reports