Hackage has been able to display Markdown READMEs for a while.
But as one can see for example on the Hackage page for hpack
, Hackage doesn't seem to support the same table syntax as GitHub.
Markdown:
#### <a name="flags"></a>Flags
| Hpack | Cabal | Default | Notes |
| --- | --- | --- | --- |
| `description` | `description` | | Optional |
| `manual` | `manual` | | Required (unlike Cabal) |
| `default` | `default` | | Required (unlike Cabal) |
Rendered on GitHub:
Rendered on Hackage:
So, I'm wondering:
- Which Markdown dialect does Hackage support?
- Is there a syntax for tables in that dialect?
- Is there a syntax for tables in the subset of Markdown that is supported by both GitHub and Hackage?