How does the creation of cards work? #1934
-
I found it interesting to be able to display GitHub stats dynamically and I'm curious what needs to be done to make this possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@UNDESC0N0CID0 Thanks for your question. Can you elaborate on what you mean by display dynamically? The cards are dynamically generated based on the current account stats (with a cache period) when you use the following markdown: [](https://github.com/anuraghazra/github-readme-stats) If you mean render based on the user theme, you can use something like this: <a href="https://www.linkedin.com/in/rickstaa#gh-light-mode-only">
<img src="https://img.shields.io/badge/LinkedIn-3572A5?style=for-the-badge&logo=linkedin&logoColor=white#gh-light-mode-only" alt="Connect with me on linkedin" >
</a>
<!-- Dark Mode -->
<a href="https://www.linkedin.com/in/rickstaa#gh-dark-mode-only">
<img src="https://img.shields.io/badge/LinkedIn-ffffff?style=for-the-badge&logo=linkedin&logoColor=0690FA#gh-dark-mode-only" alt="Connect with me on linkedin" >
</a> For more information on dynamic themes, see #1415. If you want to know how we generate the cards, this is done using an |
Beta Was this translation helpful? Give feedback.
@UNDESC0N0CID0 Thanks for your question. Can you elaborate on what you mean by display dynamically? The cards are dynamically generated based on the current account stats (with a cache period) when you use the following markdown:
If you mean render based on the user theme, you can use something like this: