Skip to content

[Haddock] Add grey background to inline code

Javier Sagredo requested to merge Jasagredo/ghc:js/haddock-grey-bg into master

In line with what other programming languages show, monospaced text will now have a slightly grey background:

image

as without it, specially non-linked monospaced words were very difficult to spot:

image

This follows the same style as Rust does, which in my opinion looks very readable

image


This is probably a matter of preference and esthetics so I think it would be perfectly understandable if the PR is not accepted.

Merge request reports