Wrap inline codes

Break lines only when it's necessary or it contains line breaks.