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 |
---|---|
How to set up and validate locally
- Generate CI/CD Catalog resource with the seeder:
bundle exec rake "gitlab:seed:ci_catalog_resources[Twitter, 1]"
- Edit the ReadME file with markdown
- Go to
Explore -> CI/CD Catalog
- Click on your new resource
- Notice the markdown renders correctly.
Related to #431899 (closed)
Edited by Frédéric Caplette