## gh_badges()


Markdown image links for GitHub profile summary cards.


Usage

``` python
gh_badges(
    username,
    badge,
    theme="default",
)
```


Cards come from [github-profile-summary-cards](https://github-profile-summary-cards.vercel.app/demo.html).


## Parameters


`username: str`  
GitHub username.

`badge: str or list of str`  
One or more of `"details"`, `"commit_lang"`, `"ptime"`, `"repo_lang"`, or `"stats"`.

`theme: str = ``"default"`  
`"default"`, `"dark"`, or `"light"`.


## Returns


`str`  
Markdown, one badge per line.


## Raises


`ValueError`  
If a badge or theme name is unknown.


## Examples

``` python
>>> print(gh_badges("mjfrigaard", ["details", "stats"], theme="dark"))
```

<img src="http://github-profile-summary-cards.vercel.app/api/cards/profile-details?username=mjfrigaard&theme=github_dark.png" class="img-fluid" /> <img src="...stats?username=mjfrigaard&theme=github_dark" class="img-fluid" />
