Skip to content

How to format the Hoogle output #308

Answered by mrcjkb
QRCoding asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by QRCoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants