Skip to content

Frontend: Fix Markdown not rendering in CI/CD Catalog

Overview

The readme is getting weird formatting, and this is because some SCSS classes are missing. So when we get the HTML from the API and render it as is, there should be styles being applied to things like pre and table DOM nodes, but they aren't. This leads to visual inconsistencies.

Looking more into this, it seems that some bundles coming from app/assets/stylesheets/framework/.. aren't being loaded

CI/CD Catalog detail page Project readme view
Screenshot_2023-11-15_at_13.28.48 Screenshot_2023-11-15_at_13.28.56

Relevant user feedback

It would be nice from my point of view to have the same HTML rendering of the README.md in the CI/CD Catalog as in the project with colors of YAML inline sections and better table formatting.

Proposal

Load the appropriate SCSS bundles so that the README content gets formatted correctly.

Edited by Frédéric Caplette