pedantry

/ˈpɛdəntri/
noun
  1. An excessive focus on minor details, rules, or formalities, especially when teaching or showing off knowledge.
    • The article was full of pedantry, listing every obscure fact about the author's life.
    • The professor's pedantry annoyed the students, who just wanted to learn the main ideas.
    • His pedantry about grammar made conversations with him exhausting.
Antonyms
What does "pedantry" mean? | whatsthatwordmean | whatsthatwordmean