Adds content to the API list/card directive.