Badges in Project Description

I saw some projects with badges in their project description. The GitLab Community Edition project is the most famous one.

How do I add these badges into the project description? Neither markdown nor html work.

Got it, after trying some time.

I have to define the badges in the “Settings -> General -> Badges”. Obviously.