pedantically
🇺🇸
/pɪˈdæntɪkli/
🇬🇧
/pɪˈdæntɪkli/
in a way that shows excessive concern with minor details or rules
He pedantically corrected every minor grammatical error in the document.