doc: fix Windows code snippet tags#48100
Conversation
Those were wrongly marked as `bash`, when the text around it was referencing PowerShell or Command Prompt.
|
Review requested:
|
|
Fast-track has been requested by @aduh95. Please 👍 to approve. |
| Using Command Prompt: | ||
|
|
||
| ```bash | ||
| ```text |
There was a problem hiding this comment.
| ```text | |
| ```cmd |
Shouldn't this be cmd?
There was a problem hiding this comment.
The linter won’t let me do that.
There was a problem hiding this comment.
Okay, so here's the total list:
node/tools/lint-md/lint-md.mjs
Lines 20828 to 20843 in 260092e
I think
console still makes more sense than text here.
There was a problem hiding this comment.
I disagree, console is meant for showing the output of commands (with optionally the command themselves when prefixed with $ or >), so it wouldn’t apply here. If you feel strongly that text is not correct, let’s add cmd to the list.
There was a problem hiding this comment.
I don't feel strongly about it :)
|
Landed in 30870d1 |
Those were wrongly marked as `bash`, when the text around it was referencing PowerShell or Command Prompt. PR-URL: nodejs#48100 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
Those were wrongly marked as `bash`, when the text around it was referencing PowerShell or Command Prompt. PR-URL: nodejs#48100 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
Those were wrongly marked as `bash`, when the text around it was referencing PowerShell or Command Prompt. PR-URL: #48100 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
|
Blocked by #47125 |
Those were wrongly marked as `bash`, when the text around it was referencing PowerShell or Command Prompt. PR-URL: nodejs#48100 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
Those were wrongly marked as `bash`, when the text around it was referencing PowerShell or Command Prompt. PR-URL: nodejs#48100 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com>
Those were wrongly marked as
bash(that's my bad, it's coming from #48082), when the text around it was referencing PowerShell or Command Prompt.