https://github.com/discourse/onebox/pull/385
A plugin as well: https://github.com/misaka4e21/discourse-onebox-gitlab