pedantic

(adjective)

adjective

1. overly concerned with formal rules and trivial points of learning.

Similar word(s): scholarly, academic, donnish

2. being showy of one’s intelligence or knowledge, often in an annoying way.