Like a pedant, overly concerned with formal rules and trivial points of learning.
Being showy of one’s knowledge, often in a boring manner.
Being finicky or fastidious, especially with language.