Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Add grey background to inline code #1635

Closed
wants to merge 1 commit into from

Conversation

jasagredo
Copy link

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.

@Kleidukos
Copy link
Member

Hi, thank you for this PR, but Haddock now lives full-time in the GHC repository!
Read more at https://discourse.haskell.org/t/haddock-now-lives-in-the-ghc-repository/9576.

Let me know if you feel it is still needed, and I'll migrate it. :)

@Kleidukos Kleidukos closed this May 18, 2024
@jasagredo
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants