pedantism
/pɛdˈæntɪzəm/Definitions
1. noun
A excessive or excessive emphasis on minor details or rules, often to the point of being annoying or tedious.
“The professor’s pedantism made the lecture feel like a never-ending list of trivial facts.”
2. noun
A fondness for displaying one’s knowledge or learning, especially in a showy or pretentious way.
“The writer’s pedantism was evident in her use of obscure vocabulary and complex sentence structures.”