-
Describe the bugWhen I'm trying to to apply this URL in
It shows me (no matter what media set is), this "default" card: But if I use this same URL within "Markdown image": VS Code also previews card correctly, but Github .MD is not working. Expected behaviorShow correct card correlated with provided URL (image 2): Screenshots / Live demo linkScreenshots provided in bug description. Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
qwerty541
Jun 4, 2024
Replies: 1 comment 2 replies
-
Hey @Falcion. You have to URL encode the query string values when using <picture>
<source
srcset="https://github-readme-stats.vercel.app/api?username=Falcion&show=reviews%2Cdiscussions_started%2Cdiscussions_answered%2Cprs_merged%2Cprs_merged_percentage&show_icons=true&theme=dark&custom_title=Recent%20activity%20(Falcion):&text_bold=true&card_width=500&hide_border=true"
media="(prefers-color-scheme: dark)"
/>
<source
srcset="https://github-readme-stats.vercel.app/api?username=Falcion&show=reviews%2Cdiscussions_started%2Cdiscussions_answered%2Cprs_merged%2Cprs_merged_percentage&show_icons=true&custom_title=Recent%20activity%20(Falcion):&text_bold=true&card_width=500&hide_border=true"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
/>
<img src="https://github-readme-stats.vercel.app/api?username=Falcion&show=reviews%2Cdiscussions_started%2Cdiscussions_answered%2Cprs_merged%2Cprs_merged_percentage&show_icons=true&custom_title=Recent%20activity%20(Falcion):&text_bold=true&card_width=500&hide_border=true" />
</picture> |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Falcion
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @Falcion. You have to URL encode the query string values when using
<picture>
tag. Here is an example: