-
Notifications
You must be signed in to change notification settings - Fork 60.4k
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
Code blocks that contain shell output have misleading syntax highlighting #34621
Comments
Thanks for opening this issue. A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
@TheOne04 Thank you for raising this issue! I'll get this triaged for review ✨ Our team will provide feedback regarding the best next steps for this issue - thanks for your patience! 💛 |
Thanks for opening an issue! We've triaged this issue for technical review by a subject matter expert 👀 |
@TheOne04 Thanks for raising this as an issue first before raising a PR, so we can discuss it: it's much appreciated. I agree with you and I think the simplest solution is simply to remove the angle bracket characters, as they don't serve any real purpose and the We could apply that solution to a large number of articles in our docs, and not just the page you've highlighted, so I'll defer to @nguyenalex836 on the best course of action, but we will open this up to contributors in some form. Thank you! |
@subatoi Thank you for the review and guidance here! ✨ @TheOne04 Thanks again for raising an issue! Per @subatoi's guidance, would you be open to:
Once that is complete, we can comb through the docs on our end to find other code blocks where the angle bracket characters should be removed, and open up issues for contributors to work on 💛 |
Thank you for the detailed response. While I agree with removing the |
You're quite right @TheOne04: let's change the environment to
Will become:
Please note I've escaped backticks for illustration purposes only. If you haven't already, please refrain from making the issue that we suggested you create (cc @nguyenalex836, my apologies for creating confusion) — we'll go ahead and create an issue internally. We'd need to evaluate whether For now, I'll go ahead and open it up to contributors that anyone can raise a PR with the fix I've suggested above, for the article https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port |
Thanks! If it's alright can I go ahead and submit a PR with the correction? Also I would be open to help with correcting any other pages that face a similar issue but |
Oops sorry @TheOne04, I will close my PR. |
My bad I guess I should've just created a PR to avoid this confusion sorry @gonmmarques |
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/authentication/troubleshooting-ssh/using-ssh-over-the-https-port
What part(s) of the article would you like to see updated?
The code blocks containing shell output unintentionally highlight the command's output due to the presence of characters like quotes.
This creates a visually misleading representation of the actual command output.
Ideally, only the command line should be highlighted, though leaving the entire block unhighlighted is also a viable solution.
Additional information
The text was updated successfully, but these errors were encountered: