Important note
This cheatsheet has been migrated into the official Haddock repo and can also be viewed in the Haddocks for Haddocks. Please track the version there for any changes or updates.
Haddock Markup Quick Reference
This page is a single-page quick reference for the markup used in GHC's Haddock documentation format. It doesn't list all the details of the format, just the basic markup, so for the vagaries and edge-cases of the syntax, it would be helpful to consult the Haddock user guide.
License
This document is licensed under the CC BY-SA 4.0 license.