haskell / haddock

Haskell Documentation Tool
www.haskell.org/haddock/
BSD 2-Clause "Simplified" License
361 stars 241 forks source link

Add Markdown support #244

Open ghc-mirror opened 10 years ago

ghc-mirror commented 10 years ago

Original reporter: @tibbe

Markdown has become the standard markup for writing programming documentation (and blog posts and so on). It would be nice if Haddock could support a superset of Markdown (i.e. with support for identifier references and so forth) via a pragma:

{-# HADDOCK Markdown #-}

That way we could produce much richer docs, containing tables, bold text, section headers (without having to add those headers to the export list), etc.

ghc-mirror commented 10 years ago

Original reporter: david.waern@

This is a great idea that many people have proposed before but no-one has taken a stab at. It would be a good SoC project.

ghc-mirror commented 10 years ago

Original reporter: fuuzetsu@

Being done as part of GSOC

ghc-mirror commented 10 years ago

Original reporter: fuuzetsu@

Ended up not doing this as part of GSOC, see haskell-café for details

hvr commented 8 years ago

Relevant further reading:

simonpj commented 8 years ago

Thanks!

From: Herbert Valerio Riedel [mailto:notifications@github.com] Sent: 16 November 2016 17:53 To: haskell/haddock haddock@noreply.github.com Subject: Re: [haskell/haddock] Add Markdown support (#244)

Relevant further reading:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhaskell%2Fhaddock%2Fissues%2F244%23issuecomment-261019664&data=02%7C01%7Csimonpj%40microsoft.com%7Cf0f2858373e44225510e08d40e495b7c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636149155612601240&sdata=F%2FSC%2F5quHdCLjmNzIhz%2BI8baaX0SJTtdNUziP4uqMUY%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAjse1KXthew-mBtdZuMgJbcPJV3HhPmks5q-0LmgaJpZM4B5Q51&data=02%7C01%7Csimonpj%40microsoft.com%7Cf0f2858373e44225510e08d40e495b7c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636149155612601240&sdata=GSRN1uUoh7OLs%2ByV4BYF1%2BtRWHsijokOPNjwMBHfWBE%3D&reserved=0.

sgraf812 commented 3 years ago

See #794 and #729; the chances that we'll see a markdown backend in the near future aren't bad.