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

axios word inconsistent highlighting #189

Closed
looshch opened this issue Jun 17, 2024 · 0 comments
Closed

axios word inconsistent highlighting #189

looshch opened this issue Jun 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@looshch
Copy link

looshch commented Jun 17, 2024

Describe the bug
i noticed axios isn’t always highlighted as code. There are instances when Axios is spelled with a capital letter which made me to come to the conclusion that the canonical name is ‘Axios’. Then Axios spelled lowercase implies it means axios as a code unit as opposed to a general concept. The fix is attached and here it’s deployed

To Reproduce
Steps to reproduce the behavior:

  1. Go to Cancellation, or Interceptors, or Notes, or URL-Encoding Bodies, or Config Defaults, or The Axios Instance page
  2. Search for ‘axios’
  3. Scroll down to every occurence of the word spelled all lowercase
  4. See it’s not highlighted as code

Expected behavior
Either highlighted as code, or spelled in its canonical form, i.e. ‘Axios’

Screenshots
that’s how it should be displayed
Screenshot 2024-06-17 at 14 35 54

and that’s how it’s displayed
Screenshot 2024-06-17 at 14 35 22

Desktop (please complete the following information):

  • OS: any
  • Browser any
  • Version any

Smartphone (please complete the following information):

  • Device: any
  • OS: any
  • Browser any
  • Version any

Fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant