prettier fix with npm script code example Example: run prettier npx prettier --write path/to/my/file.html