didactically

adverb
  1. in a manner intended to teach or instruct; in a way that emphasizes learning or moral instruction
  2. Usage: often used to describe teaching methods or communication styles
  3. in a manner that is overly focused on teaching or moralizing; in a pedantic or preachy way
  4. Usage: often carries a slightly negative connotation when used this way

Examples