format posts for code labels