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:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user