Skip to content

Add additional html for markdown rendered description

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

What does this MR do and why?

Currently the Inputs table of the catalog components view does not render markdown as HTML. It will render just raw text.

With this MR, the markdwown will be rendered to html so links can be clicked and code highlighted if needed.

See this example using markdown in the description of "database_image": https://gitlab.com/explore/catalog/ochorocho/lamp-acceptance-testing

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

before after
grafik grafik

How to set up and validate locally

See the catalog page, the column description should now display the rendered html instead of the raw markdowen.

Edited by Jochen

Merge request reports

Loading