Etymology
Today it means: In a pedantic manner. Full definition →
From pedant + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.