The HTML that shows the cards in a README, one after the other. With both themes, a
<picture> element shows each reader the card of their GitHub mode; with one theme, an <img>
element shows its card. Cards drawn in both formats are shown as SVG.
Examples
cat(rghcard:::card_snippet(c("dark", "light"), c("contributions", "stats"), "svg"))
#> <picture>
#> <source media="(prefers-color-scheme: dark)" srcset="rghcard-contributions-dark.svg"/>
#> <img alt="GitHub contributions" src="rghcard-contributions-light.svg" width="100%"/>
#> </picture>
#> <picture>
#> <source media="(prefers-color-scheme: dark)" srcset="rghcard-stats-dark.svg"/>
#> <img alt="GitHub statistics" src="rghcard-stats-light.svg" width="100%"/>
#> </picture>
cat(rghcard:::card_snippet("dark", "activity", "png"))
#> <img alt="GitHub activity" src="rghcard-activity-dark.png" width="100%"/>