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

Display all languages #72

Open
seanpm2001 opened this issue Jun 13, 2022 · 1 comment
Open

Display all languages #72

seanpm2001 opened this issue Jun 13, 2022 · 1 comment

Comments

@seanpm2001
Copy link

seanpm2001 commented Jun 13, 2022

I am a programming language collector. This may seem like a crazy question, but is there a way to display ALL languages in languages.svg instead of just the top 13? It seems to have picked up all the languages I wanted it to, they just don't all show, not even as other %
(yes, I know a lot of lag would be involved, I am just wondering if it is possible)

@seanpm2001 seanpm2001 changed the title Generate all languages Display all languages Jun 13, 2022
@KaibutsuSama
Copy link

KaibutsuSama commented Feb 6, 2023

Very ez.
in templates/languages.svg

<svg id="gh-dark-mode-only" width="360" height="210" xmlns="http://www.w3.org/2000/svg">

You can modify the width and height to display all languages

The line 77 in generate_images.py

viewBox="0 0 16 16" version="1.1" width="16" height="16"><path

Let the 4 16 become the same number, this number is linked to the size of your language icon, it must be the same, otherwise it will report an error, I do not know the exact principle, but I tried!

If you want to make sure it will expand automatically, you might need to rewrite some of the logic in your project,

which is a pain in the ass, so enjoy it, modifying the width and height of the template is a simple thing, and I don't think anyone can learn 10 different programming languages in a year.

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

2 participants