[Haskell-cafe] Superset of Haddock and Markdown

Twan van Laarhoven twanvl at gmail.com
Fri Nov 18 15:03:18 CET 2011

On 18/11/11 09:18, Ivan Lazar Miljenovic wrote:
> On 18 November 2011 19:06, Roman Cheplyaka<roma at ro-che.info>  wrote:
>> Maybe have a switch that enables markdown and disables markup-related
>> features of haddock (everything except linking to identifiers/modules, I
>> believe), so that we don't affect existing docs. Then make it possible
>> to pass this flag through cabal.
> As in have an opt-in Cabal field?

For a cabal field, we could just have haddock be the default markup 
language. Something like:

    DocMarkupLanguage: Haddock | Markdown | Plain | Html | ...
    -- default is Haddock

But before worrying about that, such a possibility should exist in haddock.


More information about the Haskell-Cafe mailing list