Support inline diff rendering in non-Markdown markup

Why?

GitLab supports inline diff notation in Markdown, but the same notation is not rendered in non-Markdown markup files.

What does this MR do?

Added InlineDiffFilter to MarkupPipeline.

Screenshots

Visually confirmed rendering on GDK-in-a-box with non-Markdown markup files.

Before (gitlab.com) After (GDK-in-a-box)
image image

Notes

  • No docs updates included — this area isn't well covered by existing documentation. If there are specific docs that should be updated, please flag them.
  • Backend engineer, but fairly new to Rails — feedback on Rails conventions welcome.
Edited by skkzsh

Merge request reports

Loading