Skip to content

Add Colors to GitLab Flavored Markdown

R requested to merge romanzow/gitlab-ce:24167__color_label into master

What does this MR do?

Adds color codes support to GFM.

Codes which are written in form `color` will be followed by a color "chip".

Are there points in the code the reviewer needs to double check?

  • According to the hierarchy of pipelines, ColorFilter is added to BroadcastMessagePipeline, SingleLinePipeline.
  • Should ColorFilter be supported by EmailPipeline?
  • There is a collision with an issue number typing(see screenshots). RESOLVED

Why was this MR needed?

This was a feature request. It is more comfortable to discuss colors when you can see their visual representations.

Screenshots (if relevant)

chips collision_with_issue_number

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Resolves #24167 (closed)

Edited by Bob Van Landuyt

Merge request reports