Code Formatter Guide
1. Overview
Our Code Formatter uses Prettier, the industry standard code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules.
2. Supported Languages
- JavaScript/TypeScript: Modern ES6+, JSX, TSX.
- HTML: Formats nested tags, attributes, and scripts.
- CSS/SCSS: Organizes rules and selectors.
- JSON: Indents and fixes syntax (e.g., quotes).
- Markdown: Formats tables, lists, and code blocks.
3. Privacy
This tool runs entirely in your browser using WebAssembly/JS. Your code is never sent to any server. You can format sensitive configuration files safely.