universal formatting for haddock one-liners