Looks like this feature was removed from discourse at some point and then in 2020 there was an official plugin released which provided this functionality again as described here:
I don’t know why this feature hasn’t been just built into the main discourse software itself and why it’s still kept a plugin.
So the solution to this feature is the plugin above.
However, this plugin doesn’t seem to have it’s own page in #plugin for some reason. This appears to be an important feature and probably deserves it’s own official plugin page (if not be integrated directly into discourse itself)
@JammyDodger @vinothkannans