Hello!
This is a feature that has been added to Discourse lately. You can read up on this in the topic linked below
Thanks!