[Haskell-beginners] Haddock and XML

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Mon Apr 21 19:11:21 UTC 2014


On 04/21/2014 09:08 PM, Emanuel Koczwara wrote:
> Hi,
> 
> I want to include some XML in documentation produced by haddock. Here is
> my simple test case:
> 
> http://lpaste.net/103047
> 
> I generate the docs like this:
> 
> haddock -h Doctest.hs
> 
> Can I set some command line options or maybe there are some formatting
> options (like '@' in my example) to get this XML rendered correctly?
> 
> Emanuel
> 
> 
> 
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
> 

Hi,

Birdtrack (‘>’ in front of a line) syntax takes everything verbatim so
it should do what you want. I'm not in an environment to test this at
the moment so let me know how it goes.

Thanks

-- 
Mateusz K.


More information about the Beginners mailing list