Commit Graph

209 Commits (master)

Author SHA1 Message Date
Sean Baines 4bd0c014fe Fix tooltip being hidden behind browser scrollbars (#6688) 2019-10-20 15:44:29 +02:00
Flavyoo 43247c88c2 Added image for Estalee and updates users.yml (#6629)
* Added image for Estalee and updates users.yml

* Update users.yml

* Ran SVGO

* Ran SVGO
2019-10-13 19:15:04 +02:00
Kyle Scully 297be7cc31 docs(website): add build.com to users (#6633) 2019-10-09 19:01:05 +02:00
Matthew Leffler 8125667bbf Add R&D to users (#6523) 2019-09-27 13:20:31 +02:00
Albert Nigmatzianov 90bb52439b Add Campusjäger to users (#6509) 2019-09-24 20:28:26 +02:00
Ramy Majouji e83b4537fe Optimize Images (#6472)
* Optimize PNGs and SVGs

Ran all images through SVGO and ImageOptim. No design changes and no lossy compression.

* Add Font Smoothing

* --pretty --indent 2

* Update prettier-centered-logo-static.svg
2019-09-12 22:31:18 +03:00
Javi Armendáriz 7f938c71ff Adding Openbravo to users.yml (#6261) 2019-07-02 23:37:50 +02:00
Lucas Duailibe 8160d84c75 Change font for Tidelift banner 2019-05-13 16:42:08 -03:00
Lucas Duailibe 65daff16cf Add Tidelift banner 2019-05-13 16:25:05 -03:00
Ben Scott 4f6f43dec1 Add stylelint integration docs (#5153)
* Add stylelint integration docs

* Add an "Integrating With Linters" docs page

This replaces the eslint page

* PR Feedback

* Update docs/integrating-with-linters.md

Co-Authored-By: BPScott <227292+BPScott@users.noreply.github.com>
2019-04-08 08:32:24 +02:00
Nathan Totten 0d0e88cfdf Added salesforce & heroku users (#6004) 2019-03-23 12:54:37 -04:00
Matthew Gerstman 15cd187519 Add Grey Logo For Dropbox (#5997) 2019-03-21 19:55:47 +01:00
Matthew Gerstman ef48f71b7b Add Dropbox as a user (#5965) 2019-03-12 14:55:06 -04:00
Jed Fox aec3978a13
Update the language display on the homepage (#5901)
* Update the language display on the homepage

* Remove trailing slash from URLs

* HTTP → HTTPS

* Remove Python
2019-02-26 11:31:16 -05:00
Yang Su 379e84a6a4 add quip to prettier users (#5876) 2019-02-16 12:51:46 +11:00
Nathan Totten a093bb3f7b Adds LWC Parser to support unquoted interop attributes (#5800)
This pull requests adds a new parser option `lwc`. This is the same as the HTML parser, but it adds support for unquoted HTML attributes per the needs of LWC. See: #5627
2019-02-01 13:58:50 +08:00
Ika 7c4cebeaa5
feat: add babel-flow (#5685) 2018-12-29 21:35:47 +08:00
Ika 284764f030
fix(playground): backward compatibility for --parser babylon (#5690) 2018-12-28 14:56:58 +08:00
Ika 86a5c40bc3
fix(playground): backward compatibility for --parser babylon (#5688) 2018-12-28 14:15:22 +08:00
Wei-Wei Wu 91c20f7fbe Rename "babylon" with "babel" (#5647) 2018-12-27 21:05:19 +08:00
Jed Fox b878a54e6a
Reformat the first version info in the option docs (#5604)
* Reformat the first version info in the option docs

* Make the italic text actually italic

* Update new options; reword the filepath docs
2018-12-07 13:16:31 -05:00
Ika 0534735c2f
fix(vue): tweak semicolon for single expression in event bindings (#5519) 2018-11-29 09:28:35 +08:00
Ika fa40f2ddd3
docs(blog): 1.15 release (#5296) 2018-11-07 09:09:04 +08:00
Ika e022abc9b8
chore(playground): add a temporary workaround for parser-vue (#5347)
Temporary workaround
2018-11-05 22:11:59 +08:00
Ika 5e8a4a115a
feat: support HTML/Vue/Angular (#5259) 2018-11-04 23:03:07 +08:00
Raphael Boidol 59c075b311 [ImgBot] optimizes images (#5261)
*Total -- 1,155.42kb -> 742.94kb (35.7%)

/website/static/images/users/iress-200x100.png -- 78.46kb -> 4.68kb (94.03%)
/website/static/images/users/assertible-200x100.png -- 31.41kb -> 2.68kb (91.47%)
/website/static/images/users/sevenspan-200x100.png -- 19.97kb -> 5.77kb (71.09%)
/website/static/icon.png -- 4.47kb -> 1.72kb (61.45%)
/website/static/images/users/zipch-200x100.png -- 3.91kb -> 1.64kb (58.04%)
/website/static/images/users/discord-200x100.png -- 3.18kb -> 1.42kb (55.5%)
/website/static/images/users/nrwl-200x100.png -- 25.42kb -> 11.47kb (54.89%)
/website/static/images/users/loyaltylion-200x100.png -- 5.14kb -> 2.49kb (51.58%)
/website/static/images/users/drizly-200x100.png -- 7.02kb -> 3.44kb (50.94%)
/website/static/images/users/mathrioshka-200x100.png -- 37.09kb -> 19.25kb (48.1%)
/website/static/images/users/troops-200x100.png -- 6.75kb -> 3.54kb (47.61%)
/website/static/images/languages/markdown-128px.png -- 3.66kb -> 1.93kb (47.29%)
/website/static/images/users/eyesquare-200x100.png -- 10.26kb -> 5.49kb (46.53%)
/website/static/images/editors/webstorm-128px.png -- 6.64kb -> 3.77kb (43.18%)
/website/static/images/editors/atom-128px.png -- 8.66kb -> 5.07kb (41.45%)
/website/static/images/users/lifesum-200x100.png -- 12.70kb -> 7.45kb (41.33%)
/website/static/images/users/brigad-200x100.png -- 13.67kb -> 8.06kb (41.02%)
/website/static/images/users/holidaycheck-200x100.png -- 13.79kb -> 8.30kb (39.81%)
/website/static/images/users/outreach-200x100.png -- 8.52kb -> 5.36kb (37.13%)
/website/static/images/users/hudl-200x100.png -- 8.77kb -> 5.56kb (36.66%)
/website/static/images/editors/visualstudio-128px.png -- 3.13kb -> 1.98kb (36.62%)
/website/static/images/languages/js-128px.png -- 3.34kb -> 2.12kb (36.62%)
/website/blog/assets/github-diff-ternary-in-jsx.png -- 67.71kb -> 44.43kb (34.37%)
/website/static/images/users/getonboard-200x100.png -- 5.53kb -> 3.74kb (32.43%)
/website/static/images/users/hackclub-200x100.png -- 7.90kb -> 5.44kb (31.13%)
/website/static/prettier.png -- 16.74kb -> 11.61kb (30.62%)
/docs/assets/youtube-cover/a-prettier-printer-by-james-long-on-react-conf-2017.png -- 328.21kb -> 230.23kb (29.85%)
/website/static/images/users/transloadit-200x100.png -- 10.47kb -> 7.47kb (28.66%)
/website/static/images/users/paypal-200x100.png -- 12.50kb -> 8.94kb (28.5%)
/website/static/images/users/mongodb-200x100.png -- 9.72kb -> 6.99kb (28.08%)
/website/static/images/languages/graphql-128px.png -- 8.10kb -> 5.85kb (27.71%)
/docs/assets/youtube-cover/javascript-code-formatting-by-christopher-chedeau-on-react-london-2017.png -- 137.75kb -> 100.08kb (27.34%)
/website/static/images/users/codemix-200x100.png -- 3.82kb -> 2.87kb (24.92%)
/website/static/images/users/m6web-200x100.png -- 21.61kb -> 16.69kb (22.78%)
/website/static/images/users/yelp-200x100.png -- 10.59kb -> 8.23kb (22.35%)
/website/static/images/users/react-200x100.png -- 6.72kb -> 5.23kb (22.13%)
/website/static/images/users/babel-200x100.png -- 15.44kb -> 12.08kb (21.76%)
/website/static/images/users/freelancer-200x100.png -- 5.86kb -> 4.74kb (19.08%)
/website/static/images/users/ideati-200x100.png -- 4.05kb -> 3.29kb (18.62%)
/website/static/images/users/yarn-200x100.png -- 5.75kb -> 4.71kb (18.07%)
/website/static/images/users/talkable-200x100.png -- 3.07kb -> 2.56kb (16.63%)
/website/static/images/users/webpack-200x100.png -- 5.13kb -> 4.44kb (13.49%)
/website/static/images/users/escrow-200x100.png -- 7.47kb -> 6.48kb (13.25%)
/website/static/images/users/moonmail-200x100.png -- 5.69kb -> 4.96kb (12.87%)
/website/static/images/users/jest-200x100.png -- 3.26kb -> 2.84kb (12.86%)
/website/static/images/editors/vim-128px.png -- 13.85kb -> 12.16kb (12.19%)
/website/static/images/users/nhl-200x100.png -- 11.18kb -> 9.85kb (11.92%)
/website/static/images/editors/emacs-128px.png -- 21.24kb -> 18.90kb (11.03%)
/website/static/images/users/jane-200x100.png -- 4.14kb -> 3.70kb (10.71%)
/website/static/images/users/webflow-200x100.png -- 4.51kb -> 4.08kb (9.49%)
/website/static/images/users/storybook-200x100.png -- 6.04kb -> 5.49kb (9.11%)
/website/static/images/editors/vscode-128px.png -- 14.85kb -> 13.53kb (8.9%)
/website/static/images/editors/sublimetext-128px.png -- 6.83kb -> 6.39kb (6.55%)
/website/static/images/users/zeit-200x100.png -- 0.94kb -> 0.88kb (6.45%)
/website/static/images/users/smooth-code-200x100.png -- 9.16kb -> 8.66kb (5.49%)
/website/static/images/languages/css-128px.png -- 7.21kb -> 6.87kb (4.79%)
/website/static/images/users/rnfirebase-200x100.png -- 8.63kb -> 8.26kb (4.28%)
/website/static/images/editors/espresso-128px.png -- 22.42kb -> 21.78kb (2.84%)
/website/static/images/users/monei-200x100.png -- 5.35kb -> 5.31kb (0.75%)
2018-10-16 15:07:33 -03:00
Marek Bodinger 095bfb8404 Add Exponea to users.yml (#5133)
* Add Exponea to users.yml

* Update exponea.svg
2018-09-22 18:05:13 -04:00
Ika 13147facc5
feat(html): switch to htmlparser2 (#5127)
- switch to [`htmlparser2`](https://github.com/fb55/htmlparser2)
  - no need to fork
  - won't generate pseudo nodes ([`parse5` will](https://github.com/prettier/prettier/issues/5098#issuecomment-423055181))
  - should be [faster](https://github.com/fb55/htmlparser2#performance)
- support custom self-closing tags
- support HTML entities
- remove extra trailing newline for `<template>`
- distinguish empty/empty-string attributes (`<tag x>`/`<tag x="">`)
- rename `--parser parse5` with `--parser html`
- enable `html` since 1.15, which means it's enabled by default if you install the dev version from GitHub after this PR merged.
2018-09-22 21:53:38 +08:00
Ika 79f4251e26
chore: enable html on preview playground (#5105) 2018-09-19 09:19:18 +08:00
Cody Reichert ead9127d70 Add Assertible to users.yml (#5099) 2018-09-15 15:10:12 -04:00
Ernesto García 8283320648 Add Get on Board to list of users (#5072) 2018-09-08 19:55:32 -04:00
Yashu Mittal 3c77c5dcfb Adding CodeCarrot to OCF list (#5069) 2018-09-08 07:38:03 +08:00
Ika 1790211f76
feat: support MDX (#4975)
* feat: support MDX

* refactor: flip condition
2018-08-13 22:23:09 +08:00
Ika 1915cc3c46
chore: enable glimmer parser on preview playground (#4915) 2018-08-01 15:44:37 +08:00
Yangshun Tay 94d928b9eb Upgrade Docusaurus to 1.3.1 (#4738) 2018-07-01 10:59:20 -03:00
Ika b4a92c6ee5
feat(playground): use real code sample (#4770)
* feat(playground): double click to insert example

* fix: correct condition

* feat: real code sample

* fix: remove unnecessary updateValue

* feat: auto-select on focus
2018-07-01 16:17:25 +08:00
Ika dcf44ffbdc
feat: support YAML (#4563)
* feat: support YAML

* fix: do not indent sequence in mappingValue

* docs: add yaml to index.md

* fix: reduce `SyntaxError: Node#parse consumed no characters`

* chore: remove old-build and new-worker.js

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* fix: no space after `<<`

* fix: add yaml to standalone test

* test: add tests

* fix: next empty line in flow collection

* fix: tabs are not allowed
http://yaml.org/spec/1.2/spec.html#space/indentation/

* fix: update parser

* feat: rewrite the mappingItem logic
* feat: indent sequence in mapping
* feat(doc): add ifBreak#groupId and group#id

* chore: fix node 4

* chore: add tools_yaml.svg

* chore: remove resolved TODO

* refactor: remove unnecessary workaround

* chore(worker): importScriptOnce

* chore(build): rename with babelPlugins

* make it rollup compatible

* feat: support singleQuote

* refactor
2018-06-21 10:29:42 +08:00
Ika c5bbee67d3
fix(playground): no unnecessary import (#4653) 2018-06-09 00:01:14 +08:00
Jed Fox 1669a7b38b
Redirect the broken 1.13 blog link to the correct one (#4570)
* Redirect the broken 1.13 blog link to the correct one

https://twitter.com/prettiercode/status/1000819715374272515

* Redirect the broken 1.13 blog link to the correct one

https://twitter.com/prettiercode/status/1000819715374272515

* Revert "Rename 2018-05-27-1.13.0.md to 2018-05-23-1.13.0.md"

This reverts commit bce668af05.

* Fix redirect target
2018-05-28 07:24:09 -04:00
Suchipi 2303d6801f website: Change pre overflow-x to auto (#4573)
`overflow-x: scroll` shows scrollbars under every code block even if they aren't scrollable:

![scrollbar](https://user-images.githubusercontent.com/1341513/40591633-f0e85540-61d1-11e8-9906-c0c67d432d26.png)
2018-05-28 11:00:43 +10:00
Lucas Duailibe 0d57f22098 Use new worker on playground 2018-05-27 15:24:50 -03:00
Lucas Duailibe f40b82d183
Fix playground (#4541) 2018-05-24 21:11:12 -03:00
Lucas Duailibe 52a2a46b3c
New build system (#4449) 2018-05-24 15:30:45 -03:00
Ika 1062f2a889
feat: support JSON.stringify formatting (#4450)
* test: move tests

* feat: support legacy JSON formatting

* fix: add missing assertion

* test: fix coverage

* fix: same output as JSON.stringify

* refactor: fix linting

* refactor: rename to json-stringify

* refactor: fix linting

* fix: should fix the production build

* docs: remove outdated name

* fix(playgound): add lib/parser-json-stringify.js

* feat(playgound): add example for json-stringify

* fix: no error on singleQuote string

* fix(playground): correctly load json-stringify

* fix: identifier is only allowed in ObjectProperty.key

* refactor: clearer
2018-05-14 09:12:25 +08:00
Christian Gill 18eebc89fc Add HousingAnywhere to users (#4476) 2018-05-13 16:53:21 -04:00
Ika 92485601eb
refactor: fix linting 2018-05-10 02:27:56 +08:00
Lucas Duailibe f48dd0ea3b
Simplify `build-docs.js` (#4453) 2018-05-09 14:41:51 -03:00
Lucas Duailibe edcebb0d54
Fix playground (#4454) 2018-05-09 14:27:25 -03:00
Johann Hubert Sonntagbauer 1a6cf3d071 revert changes to code mirror gutter styles (#4419) 2018-05-04 13:31:53 -03:00
Lucas Duailibe c77f1e5987 [playground] Fix doc debug 2018-05-03 10:12:06 -03:00