docs: uniformize code blocks

- add missing syntaxes
- don't put prompt if no command outputs to ease copy/paste and use `sh` syntax
- always use `$` as prompt and use `console` syntax
This commit is contained in:
Julien Fontanet
2023-02-06 11:25:12 +01:00
parent 2f65a86aa0
commit 2a70ebf667
64 changed files with 268 additions and 269 deletions
+2 -2
View File
@@ -15,8 +15,8 @@
Installation of the [npm package](https://npmjs.org/package/{{pkg.name}}):
```
> npm install --{{#if pkg.preferGlobal}}global{{^}}save{{/if}} {{pkg.name}}
```sh
npm install --{{#if pkg.preferGlobal}}global{{^}}save{{/if}} {{pkg.name}}
```
{{/unless}}