[Haskell-cafe] Haddock - How to write formulas ?
me at lelf.lu
Tue Jan 7 12:18:51 UTC 2014
Mateusz Kowalczyk <fuuzetsu at fuuzetsu.co.uk> writes:
> On 07/01/14 01:42, Carter Schonwald wrote:
>> I would really love to use MathJax in the haddock HTML backend. Is there
>> any way (however hacky) that I could do that?
> I looked up how MathJax is used and as far as I can tell, it's just
> for example the synopsis box.
> Hackage, it'd be possible to just stick the header into the generated
> files and be done with it. Here are some caveats:
> * You suddenly allow for part of documentation to be rendered by
> someone else, over the Internet. The problem is that documentation
> browsing locally, without an Internet connection. Embedding images
> avoids both of these problems.
No. It's rendered in the browser.
More information about the Haskell-Cafe