047363a1f40d8828107ae7e18d42bd9fe553a6a4
* Begin landing page revamp * Break the editor integrations onto their own lines * Add template string * Add editor line breaks * Make logo clickable * Add more docs links * Don’t split the editor list items into paragraphs * Break plugin onto its own line * Move the “Why” button to the bottom of the block * Use suggested font * Change font * Change footer color * Add assets from @orta * Fix fonts * Use new editor assets * Add npm/yarn button * Switch to npx * Minor mobile tweaks * Add dependants * Lots of zeros are cooler to look at than a “k” * Improve button sizes, respect prefers-reduced-motion * Fixup media breakpoints for Get Started section * Increase padding of editors * CSS fixes from code review * Prevent repeatedly clicking on the logo from selecting nearby text * dependant -> dependent * Various CSS tightening * Set flex-basis on editors * Add new languages panel * Improve layout of languages * Cleanup grouping code * Fix users layout * Fix language image widths * space-evenly -> space-between * Fix typo * Remove unused var * Various CSS fixes * Set overflow-x: auto on code * Improve languages layout * Add silly cursor * Make logo 'draggable' * [Site] Margins and paddings (#2) * [Site] Margins and paddings * [Site] Bring back the link to why, that's a good guide worth linking to * Improve logo mobile usage * Improve responsive layout of editors * Use static SVG for the moment (#3) * Use the static logo for the moment * Fix the broken JS, from going static, and make overscroll the right color * Fix padding
Opinionated Code Formatter
JavaScript · Flow · TypeScript · CSS · SCSS · Less · JSX · Vue · GraphQL · JSON · Markdown · Your favorite language?
Intro
Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
Input
foo(reallyLongArg(), omgSoManyParameters(), IShouldRefactorThis(), isThereSeriouslyAnotherOne());
Output
foo(
reallyLongArg(),
omgSoManyParameters(),
IShouldRefactorThis(),
isThereSeriouslyAnotherOne()
);
Prettier can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!
Badge
Show the world you're using Prettier →
[](https://github.com/prettier/prettier)
Contributing
See CONTRIBUTING.md.
Languages
JavaScript
98.6%
CSS
0.9%
Vue
0.2%
HTML
0.2%
MDX
0.1%
