Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
doc: use 'console' info string for console output#34837
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
nodejs-github-bot commented Aug 19, 2020
Review requested:
|
doc/api/esm.md Outdated
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.
This is the only change that should be made. I've seen this and known about it.
doc/api/esm.md Outdated
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.
in this example, the command no longer stands out with this change, and I find it less readable. why don't we want syntax highlighting on command line commands?
DerekNonGeneric commented Aug 19, 2020
That's actually untrue. We do want bash syntax for all non-console command lines. |
DerekNonGeneric commented Aug 19, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Here's the reasoning: each single command line isn't shell-agnostic, which is what |
Trott commented Aug 20, 2020
My thinking was:
But really those are rationales probably, and I think mostly I've just seen too much misleading bash highlighting when the command prompt and output is included. So happy to revise this to just be the one uncontroversial instance. PTAL. |
DerekNonGeneric commented Aug 21, 2020
It's impossible to use Any dev using Windows would know this. I think we should think about the target audience here. |
DerekNonGeneric commented Aug 21, 2020
Well, let me correct myself, because that's not entirely true. There are other ways to do use |
Trott commented Aug 21, 2020
I certainly agree that the only logical choices (as far as I can tell) are |
zackschuster commented Aug 21, 2020
would |
DerekNonGeneric commented Aug 21, 2020
There is a point to choosing
@zackschuster, the question I would have to ask is what does |
zackschuster commented Aug 21, 2020
@DerekNonGeneric |
zackschuster commented Aug 21, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
(this assumes |
DerekNonGeneric commented Aug 21, 2020
@zackschuster, everything here is in Bash, what can I do? lol |
zackschuster commented Aug 21, 2020
i can open a PR myself 😄 |
DerekNonGeneric commented Aug 21, 2020
Would you? |
Trott commented Aug 21, 2020 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
It may be semantically more agnostic, but under the hood, I believe it is identical to (I'd still be in favor of such a change for semantic reasons.) |
Trott commented Aug 21, 2020
This very small change needs reviews. Other than that, it is ready to land. |
PR-URL: #34837 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]>
Trott commented Aug 21, 2020
Landed in fc6f136 |
PR-URL: #34837 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]>
PR-URL: #34837 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]>
PR-URL: #34837 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]>
We don't want bash syntax highlighting for command-line examples, so
switch to
textor, where appropriate,console.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes