Skip to content

Code Blob search result keyword highlighting!

Follow up of #23750 (moved) and should only be done when that one is completed.

To help users read the results we give them I propose we add line highlighting + bold key word highlighting to those results.

Design

  • Highlight the whole line, plus number line (number itself stays the same color .. (similar to diff highlighting)
  • Key word gets bold mono space font

https://gitlab.com/gitlab-org/gitlab-ce/uploads/eaa400ffbfef3f88b8ce521bc3d18e8b/image.png

cc: @awhildy @winniehell @JobV @jschatz1