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

C++ could not be hidden in Top Langs #251

Closed
swapnanildutta opened this issue Jul 29, 2020 · 3 comments
Closed

C++ could not be hidden in Top Langs #251

swapnanildutta opened this issue Jul 29, 2020 · 3 comments
Labels
duplicate This issue or pull request already exists.

Comments

@swapnanildutta
Copy link

Describe the bug
When I wanted to hide the C++ from Top Langs, it just didn't work. Instead, it hid the C language bar.

Expected behavior
I expected to type hide=c++ in the top langs API and it would hide the c++ bar. I even tried using cpp if that was valid but didn't work.

Screenshots / Live demo link (paste the github-readme-stats link as markdown image)
The api calling
image
The result, left one is earlier top langs card, right one after hiding c++
image

Additional context
Add any other context about the problem here.

@swapnanildutta swapnanildutta changed the title C++ could not be in Top Langs C++ could not be hidden in Top Langs Jul 29, 2020
@ngtrhieu
Copy link
Contributor

ngtrhieu commented Jul 29, 2020

The plus symbol "+" in "c++" is URI reserved character, as specified in Wikipedia
You should use "c%2B%2B" instead of "c++" like this:

[![swapnanildutta](https://github-readme-stats.vercel.app/api/top-langs/?username=swapnanildutta&hide=c%2B%2B)](https://github.com/swapnanildutta)

Demo:
swapnanildutta

For your record, if you want to hide "Jupyter Notebook", you should use "jupyter%20notebook" instead:
swapnanildutta

@anuraghazra
Copy link
Owner

@swapnanildutta Hi hope you resolved the issue. :) we updated the docs with the information provided by @ngtrhieu in #252

Duplicate of #201 #220 #194

@anuraghazra anuraghazra added the duplicate This issue or pull request already exists. label Jul 29, 2020
@swapnanildutta
Copy link
Author

Thanks for the help !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists.
Projects
None yet
Development

No branches or pull requests

3 participants