Format as pills to display inline