Skip to content

Update markdown styles for quoted lists

What does this MR do and why?

Updates markdown styles for quoted lists

Makes lists rendered in markdown use the same "list style" as normal when they're quoted. See screenshots for examples.

Fixes list style being inconsistent between quoted and unquoted lists.

Also fixes list style of quoted lists changing when clicking to reply to a comment (see #28700 (closed) description for video example of this issue)

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.

This is the markdown being rendered in the before/after screenshots below.

Screenshot_2024-03-22_at_12.07.43

Before After
Screenshot_2024-03-22_at_12.12.24 Screenshot_2024-03-22_at_12.08.03

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Visit anywhere markdown is written and subsequently rendered (e.g. an Issue discussion).
  2. Write a comment containing a list.
  3. Quote the list in another comment.
  4. Check that the list style (the bullet point 'marks') match between the normal and quoted lists.
  5. This should also work for nested lists as shown in the screenshots above.

Related to #28700 (closed)

Edited by Jack Chapman

Merge request reports

Loading