The social media platform Reddit announced this week that the company is to go public after a major capital raising.