Pedantry

n.
  1. The act, character, or manners of a pedant; vain ostentation of learning.