prettier online code example
Example 1: run prettier
npx prettier --write path/to/my/file.html
Example 2: prettier npm
npm install --save-dev pre-commit
npx prettier --write path/to/my/file.html
npm install --save-dev pre-commit