Closed marcosh closed 2 months ago
When generating html documentation, it would be nice to automatically render Mermaid diagrams.
html
For example, if some Haskell code contained a comment like
-- | Some docs with a diagram -- ```mermaid -- flowchart LR -- Start --> Stop -- ```
should render as
Some docs with a diagram flowchart LR Start --> Stop
Some docs with a diagram
flowchart LR Start --> Stop
Yes, I had the same idea for a Haddock plugin. Many new things will unlock when we can rework the architecture of Haddock in the near future, so thank you for opening this ticket. :)
I'm closing this for now. Haddock has migrated to Gitlab.
When generating
html
documentation, it would be nice to automatically render Mermaid diagrams.For example, if some Haskell code contained a comment like
should render as