yav / pretty-show

Tools for working with derived Show instances in Haskell.
MIT License
57 stars 15 forks source link

Escape bracket [ for Quote constructor comment #43

Closed jacobstanley closed 4 years ago

jacobstanley commented 4 years ago

I noticed on Hackage that Haddock was interpreting [ as the start of bold styling which looks wrong.

image

So this PR escapes it:

image

I did try @code@ at first but looked a bit out of place among the other comments.