How to write special characters like newline and haddock output format

I would like to format my debugger documentation, as with javadoc, something like pasting html or any other markup that allows me to get a cleaner result without disabling javascript or CSS ... In particular, I would like to know how to paste line break in documentation.

thanks!

+7
source share
1 answer

Haddock is designed to work with several output formats, including LaTeX, so it uses its own markup format instead of something like HTML.

I don’t think you can only insert a line break, but you can start a new paragraph by leaving an empty line, for example.

-- | First paragraph. -- -- Second paragraph. 
+4
source

All Articles