Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add ability to set card size #102

Open
IgorGakhov opened this issue Aug 18, 2022 · 4 comments
Open

[Feature request] Add ability to set card size #102

IgorGakhov opened this issue Aug 18, 2022 · 4 comments

Comments

@IgorGakhov
Copy link

Good day! It seems like it would be a great and much needed addition.

Example:
card_width - Set the card's width manually (number)

- If the feature request is approved, would you be willing to submit a PR?
- No 😔

@simbafs
Copy link

simbafs commented Dec 9, 2023

The output cards is svg, you can rescale them as you need.

@cottinisimone
Copy link

And adding card_height might be a good idea too.

@simbafs you are right but add those two args might be extremely useful when embedding svgs in markdown files

@linkoffee
Copy link

Maybe not a bad idea: However, you can use html arguments, like this:

<img src="http://github-profile-summary-cards.vercel.app/api/cards/repos-per-language?username=<username>&theme=<theme>" width="33%" height="50%"/>

@vn7n24fzkq
Copy link
Owner

Hi, sorry for the late reply. It seems that the issue can be solved by using the html argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants