Uh oh!
There was an error while loading. Please reload this page.
doc: use 'console' info string for console output - #34837
Conversation
nodejs-github-bot
commented
Aug 19, 2020
Review requested:
|
There was a problem hiding this comment.
This is the only change that should be made. I've seen this and known about it.
There was a problem hiding this comment.
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. |
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 |
(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? |
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 <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Trott
commented
Aug 21, 2020
Landed in fc6f136 |
PR-URL: #34837 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
PR-URL: #34837 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
PR-URL: #34837 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
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