Prettier

Open-source code formatter for unifying the format of web code, Markdown, JSON and configuration files.

Details

Prettier is an open-source code formatter supporting JavaScript, TypeScript, HTML, CSS, Markdown, JSON, YAML and more. It suits tidying website code, tool configuration files, Markdown documents and front-end projects.

Use cases: web code formatting, Markdown formatting, tidying JSON, configuration file conventions, project maintenance

Note: Record changes with Git before formatting so unintended edits are easy to roll back.