What is the meaning of Pedantic?

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

Being showy of one’s knowledge, often in a boring manner.

pedantic

Source: wiktionary.org