Pedantry

Ped"ant*ry (?), n. [Cf. F. pédanterie.] The act, character, or manners of a pedant; vain ostentation of learning. "This pedantry of quotation." Cowley.

'T is a practice that savors much of pedantry.
Sir T. Browne.