Literate Haskell support for Markdown
Browse cluster: Haskell tooling and libraries →markdown-unlit is a custom unlitter program that extracts Haskell code from Markdown files, enabling developers to write README.md files that are simultaneously valid literate Haskell programs. It integrates with GHC via the `-pgmL` compiler flag and supports Cabal test suites, allowing code examples in documentation to be syntax-highlighted on GitHub while remaining executable and testable. The tool is written in Haskell and provides fine-grained control over code extraction through customizable pattern matching, as well as the ability to reorder code blocks using tags like `top` to handle module-level declarations and imports.