In diff view, for markdown files only, bold lines that start with #

Problem to solve

When viewing a diff of a markdown file, headers (lines starting with # or ## or ###, etc) are displayed in a color close to the background color - making them harder to view/notice. This is likely the case because in other languages, these represent code comments. However, in Markdown, they are section headings.

Further details

Note how these markdown headings are hard to skim and notice.

Screen_Shot_2018-12-07_at_3.38.09_PM

Proposal

Because these such lines are section headings in markdown, it would be better to conditionally make them bold when viewing a .md file.

What does success look like, and how can we measure that?

If most of the GitLab technical writers find this to be an improvement when doing doc reviews, then this was successful.

Links / references

Assignee Loading
Time tracking Loading