-
-
Notifications
You must be signed in to change notification settings - Fork 24.6k
Feature Request: Add custom languages #4000
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
base: master
Are you sure you want to change the base?
Conversation
@Akhil-2020171 is attempting to deploy a commit to the github readme stats Team on Vercel. A member of the Team first needs to authorize it. |
please approve it |
// const topLangs = await fetchTopLanguages( | ||
// username, | ||
// parseArray(exclude_repo), | ||
// size_weight, | ||
// count_weight, | ||
// ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest to remove this block of dead code.
name: curr, | ||
color: "#000000", // Assign a default color (you can customize this later) | ||
size: 1, // Default size | ||
count: 1, // Default count |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kindly remove unnecessary comments. Your code should be self explanatory.
Feature Request #3969
Show Custom Languages
You can now specify custom languages to be displayed using the
&lang=
query parameter. The custom languages will override the automatically fetched top languages. The value should be a comma-separated list of language names. Note that the languages provided in the list will be shown with default settings for color, size, and count.