haddock icon indicating copy to clipboard operation
haddock copied to clipboard

Why <strong> (bold) on REPL examples?

Open ulysses4ever opened this issue 4 years ago • 2 comments

Since the support for REPL ("interactive", >>>-) examples was added 12 years ago (28bd97759174c9169b7633ee45d39c82fd069dd9), it had this strong/bold decoration. I don't see a reason for that and find REPL-heavy examples close to unreadbale. E.g. as shown in this tweet. Is there a reason for this decision? Could we reconsider?

ulysses4ever avatar Nov 20 '21 02:11 ulysses4ever

:+1:

Maybe the ">>>" can be bold instead to set it apart from actual Haskell syntax.

Also, the bold currently isn't applied consistently on multi-line input.

https://hackage.haskell.org/package/generic-data-0.9.2.1/docs/Generic-Data.html#t:Generically1

Lysxia avatar Nov 20 '21 05:11 Lysxia

I also thought about bold >>> — I like the idea.

ulysses4ever avatar Nov 20 '21 12:11 ulysses4ever