25 lines
479 B
Markdown
25 lines
479 B
Markdown
## Prettierd Setup
|
|
|
|
Readme: https://github.com/smastrom/sublime-prettierd-format
|
|
|
|
---
|
|
|
|
In order to start using this plugin, you must install prettierd globally, either using npm/yarn/pnpm:
|
|
|
|
```bash
|
|
npm i -g @fsouza/prettierd
|
|
```
|
|
|
|
or homebrew on macOS:
|
|
|
|
```bash
|
|
brew install fsouza/prettierd/prettierd
|
|
```
|
|
|
|
Then, format on save will be enabled by default for all files supported by Prettier out-of-the-box.
|
|
|
|
### Commands:
|
|
|
|
- Prettierd: Format
|
|
- Prettierd: Save without formatting
|