haskell / haddock

Haskell Documentation Tool
www.haskell.org/haddock/
BSD 2-Clause "Simplified" License
361 stars 241 forks source link

Bold style does not survive line breaks #1634

Closed jasagredo closed 7 months ago

jasagredo commented 7 months ago

The following code:

-- | An example
--
-- - __How it should show__
--
-- - __Does not survive
--     line breaks__
--
-- - __Does not survive
--   line breaks__
--
-- - __Does not survive
--      line breaks__

renders as: image

Maybe same issue as https://github.com/haskell/haddock/issues/1158?

jasagredo commented 7 months ago

It seems this is expected as it is explicitly noted in the documentation: https://haskell-haddock.readthedocs.io/en/latest/markup.html#emphasis-bold-and-monospaced-styled-text

Note that those styled texts must be kept on the same line