pedantic

overly concerned with the trivial details of learning or education; show-offish about one's knowledge

the "petty antics" of a pedantic include showing off ones knowledge. by HelenMac123