What is the meaning of Pedantic?

Being overly concerned with formal rules and trivial points of learning, like a pedant.

Tending to show off one’s knowledge, often in a tiresome manner.

pedantic

Source: wiktionary.org