Question

Is there a way to get bold faced text when documenting Haskell source code with haddock markup? There is / / for emphasis, but nothing obvious for strong. I'm hoping for an elegant hack but I'll settle for a kludgy workaround...

AfC

Was it helpful?

Solution

This feature was pushed to HEAD yesterday.

The markup is __This is some bold text__. You don't need to escape single underscores.

OTHER TIPS

Add '@' to your text and it will be bold:

Bold only one word, bold to the first delimiter like space and etc...

@text1 text2

here bold only text1 word.

Or wrap in bold some text:

@bold text examples in haddock@

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top