Christopher Chedeau
c40b061b80
[vue] Introduce proper support for Vue Single File Components (SFC) ( #3563 )
...
There's a lot of demand for vue sfc (#2097 ). This introduces partial support for them: all the html is printed as is, except for the script and style tags which are printed using prettier. I believe that this should cover a lot of the use cases while being simple to support and if we want we can extend to more in the future.
I copy pasted the html parser used by vue (it's just a single 400 lines file) so that we don't run the chancesof conflicts. I'm also very conservative: I only print the style and script at the top level and for the lang attributes we support.
I expect this to be landable as is and provide value, review welcome :)
2017-12-25 01:15:33 +01:00
Jed Fox
9cbaecbb1e
Link the version text to the PR or changelog entry
2017-12-24 12:05:54 -05:00
Jed Fox
eb30207fe5
Remove the `v` marker addition
...
It looks terrible on PRs.
2017-12-24 11:57:44 -05:00
Jed Fox
4497aa1efc
Make the playground header fit in with the rest of the site
...
Fixes https://github.com/prettier/prettier/issues/3542 .
2017-12-24 11:49:47 -05:00
Lipis
3dfa2c07b2
Add Google Analytics tracking ID ( #3506 )
2017-12-24 15:42:36 +01:00
Jerome Leclanche
591a9cb6d0
Add HearthSim to users.yml ( #3554 )
2017-12-22 12:56:38 +11:00
Lipis
8b8268096f
Refactor images for Users, Editors and Languages ( #3479 )
2017-12-19 10:42:16 -02:00
Lucas Azzola
d1c97b3622
Convert eslint config and users/languages/editors files to YAML ( #3516 )
...
* YAML all the things
* Cleanup website data files
* Update edit links
2017-12-18 21:55:10 +11:00
Adam
56948a953e
Add Troops to Users ( #3505 )
2017-12-18 09:48:30 +08:00
Praveen Durairaj
f1680c3f22
Add hasura to list of users ( #3504 )
2017-12-16 15:56:54 +11:00
Matt Mulder
b778df4fc2
Add Yelp to list of users ( #3502 )
2017-12-15 19:09:15 -02:00
Tom Bonnike
23ffddf94a
Added N26 to the list of users ( #3499 )
2017-12-16 00:02:35 +08:00
Anton Vasin
67a51c1da6
Update mathrioshka url to https ( #3498 )
2017-12-15 22:46:22 +11:00
Kushagra Gour
57e821a28c
add wingify to user list ( #3497 )
2017-12-15 03:12:22 -02:00
Anton Vasin
7f55cc5872
Add Mathrioshka to users ( #3495 )
2017-12-15 09:11:57 +08:00
Martin Irigaray
f38c51269a
IDEATI uses prettier ( #3490 )
2017-12-14 15:26:10 -02:00
Hemratna Bhimani
9157968159
Adding 7span.com to user.json ( #3486 )
...
At 7Span we user Prettier in our day to day workflow.
2017-12-14 20:51:40 +11:00
Hemratna Bhimani
f8f18487d2
Adding 7Span logo. ( #3487 )
2017-12-14 20:51:12 +11:00
Christian Rackerseder
7b6f3eaeea
Added HolidayCheck to website ☀️ ( #3488 )
2017-12-14 20:43:51 +11:00
Charles Pick
d691c8d395
Add codemix to users ( #3482 )
2017-12-14 17:47:44 +11:00
James Henry
8f9798e792
Website: Add Nrwl to users ( #3483 )
...
* Update users.json
* Add nrwl logo
2017-12-14 10:47:25 +11:00
Emmanuel Vuigner
2816c45771
Add ZIP.ch to users.json ( #3480 )
2017-12-13 15:01:41 -02:00
Sorin Iclanzan
9d8429d420
Add Webflow to users ( #3477 )
2017-12-13 15:00:56 -02:00
Viktor Hubert
6cfa092979
Added Eventstag to users.json ( #3478 )
2017-12-13 12:51:34 -02:00
Fernando Montoya
00bc23ba5a
Add Eye Square to users ( #3476 )
2017-12-13 12:19:28 -02:00
Daniel Schmidt
01aa9cedf6
Add Charlie Tango to users.json ( #3473 )
2017-12-13 12:01:05 -02:00
Greg Bergé
dfc61d940d
Add Smooth Code to users ( #3474 )
2017-12-13 11:22:29 -02:00
Lipis
20373d6fee
Prettify style in playground and code block languages ( #3419 )
2017-12-05 19:48:11 -07:00
Lucas Duailibe
2663fd8c6d
Fix flow parser + fix CHANGELOG lint
2017-12-05 22:13:38 -02:00
Lipis
23b8224240
Change cursor and remove outline in summaries on playground ( #3415 )
2017-12-05 21:21:02 -02:00
Lucas Duailibe
36a11b86bc
Fix multiparser on playground ( #3407 )
...
* Fix multiparser in playground
* Remove unnecessary function call
2017-12-06 09:14:02 +11:00
Lucas Duailibe
40af2e0514
Show a right border on sidebar
2017-12-05 18:29:49 -02:00
Lucas Duailibe
8bb6e169e2
Change playground options layout ( #3374 )
2017-12-05 17:54:07 -02:00
Ika
f3e7ca2210
chore(playground): add new options ( #3350 )
2017-12-05 21:22:10 +11:00
Lucas Azzola
c7c1d2e7a4
Upgrade Prettier to Prettier 1.9 ( #3395 )
...
* Upgrade to prettier@1.9.0
* Run eslint --fix
* Run prettylint --fix
* Fix playground with editorconfig script
2017-12-05 08:14:03 -02:00
Chris Burgin
38b490b092
Fixed website footer on mobile ( #3335 ) ( #3373 )
2017-12-04 12:27:14 +11:00
Lipis
2032b70918
Add Twitter social button ( #3288 )
...
* Twitter Badges
* Update README.md
* Update README.md
* Update Footer.js
* Update README.md
* Update Footer.js
2017-11-29 09:50:02 -07:00
Lucas Duailibe
f514d1e93f
Docs build script ( #3332 )
...
* Remove artifacts from repo
* Remove docs stuff from build script
* Add new docs build script
* Add 'third-party' shim in playground worker
* Build from src if it's a PR
* Add command to package.json and remove old stuff from travis
2017-11-28 09:27:25 +11:00
Ika
1c9ee6c5a7
chore(website): ignore `<!-- prettier-ignore -->` before passing into Docusaurus ( #3326 )
...
prettier-ignore -->` before passing into Docusaurus
2017-11-27 19:32:20 +11:00
Lucas Azzola
b941e30cad
Add mprettier to website editor integration list ( #3316 )
...
* Add mprettier
https://github.com/t9md/atom-mprettier
* Update editors.json
2017-11-25 13:55:39 +11:00
Lucas Duailibe
c0fa47d2d2
Fix infinite recursion in playground ( #3305 )
2017-11-22 11:23:28 -02:00
Ika
76efb33e75
chore: setup markdown formatting ( #3224 )
...
* chore(deps): upgrade prettier to v1.8.2
* chore: setup lint-docs script
* docs: add `<!-- prettier-ignore -->`s
* docs: format docs
* Revert "docs: format docs"
This reverts commit 6dba903987dddc498cb589ca311905f25b6aee53.
* chore(prettierrc): set `--no-prose-wrap`
* docs: format docs
* Revert "docs: format docs"
This reverts commit 139bd744b6921916be8fac4fa3bab83bae5d12df.
* docs: tweak
* docs: format docs
* chore: rename .prettierrc
* chore: rename back to .prettierrc
* chore: split out third-party
* refactor: fix linting
* chore: do not split out third-party on website
2017-11-22 22:27:40 +11:00
Lipis
258de9dac8
Rename LESS -> Less ( #3279 )
2017-11-16 23:09:05 +08:00
Dmitriy Nevzorov
b959801d6a
Add 2 more users ( #3259 )
...
* Update users.json
Please add 2 our [microapps](http://microapps.com ) projects to the users as we're big fun of prettier and use it everywhere now
* add properly formatted images
2017-11-16 18:21:05 +08:00
Pavel Pustovalov
2332c5c8bf
Add Talkable to users ( #3267 )
2017-11-14 19:43:15 +08:00
Diego Rodrigues Vieira
b6a2436bd1
Update VSCode icon ( #3266 )
2017-11-14 19:29:56 +08:00
Ika
b6b601815c
docs(webstorm): improve image urls ( #3261 )
2017-11-14 18:37:15 +11:00
Mark Yu
9f7b4df23f
Fix broken Webstorm image links. ( #3260 )
2017-11-14 10:47:04 +08:00
Ika
5820ec1e11
chore(website): fix logo filename ( #3258 )
2017-11-13 21:50:27 +08:00
Lipis
1464261edf
Add Wire to users.json ( #3257 )
2017-11-13 11:45:26 -02:00