-
Is there any way to have the Hoogle output formatted (thereby removing the markup tags)? See picture. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey 👋 I have recently toyed with the idea of contributing markdown support to hoogle (see #296). This would give the previews tree-sitter syntax highlighting. A quick and dirty solution would be to check if pandoc is installed, and if so, pipe the preview text through pandoc (converting it from HTML to markdown). But something like that will have to be implemented in haskell-tools. |
Beta Was this translation helpful? Give feedback.
Hey 👋
I have recently toyed with the idea of contributing markdown support to hoogle (see #296). This would give the previews tree-sitter syntax highlighting.
Hoogle uses blaze though, so I would have to write a blaze-markdown library first.
A quick and dirty solution would be to check if pandoc is installed, and if so, pipe the preview text through pandoc (converting it from HTML to markdown).
But something like that will have to be implemented in haskell-tools.