Reputation: 130
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
Upvotes: 4
Views: 450
Reputation: 2066
This feature was pushed to HEAD yesterday.
The markup is __This is some bold text__
. You don't need to escape single underscores.
Upvotes: 3
Reputation: 21837
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@
Upvotes: 1