Render mermaid diagrams on CI/CD catalog pages
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
Mermaid diagrams don't render on CI/CD catalog pages.
Steps to reproduce
- Add a mermaid diagram to a project's README.md
- Update the project settings to mark it as a CI/CD catalog resource
- Create a release for the project
Example Project
Project: https://gitlab.com/manbeardo/mermaid-example
CI/CD Catalog entry: https://gitlab.com/explore/catalog/manbeardo/mermaid-example
What is the current bug behavior?
The mermaid diagram's source is dumped into a code block
What is the expected correct behavior?
The mermaid diagram renders
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)(we will only investigate if the tests are passing)
Possible fixes
Edited by 🤖 GitLab Bot 🤖