Ika
dbe0758b48
chore: shorten filename ( #3636 )
...
Context: https://github.com/prettier/prettier/pull/3627#issuecomment-354935942
2018-01-02 23:48:46 -05:00
Ika
a627ca7b5d
docs: minor tweaks ( #3627 )
...
* docs(blog): replace `:emoji:` with `${emoji}`
* docs(blog): move images to assets
* docs(index): move images to assets
* docs(index): fix typo
2018-01-03 00:04:22 +08:00
Christopher Chedeau
dcf04187db
Tweak CSS of the blog section ( #3625 )
...
* Tweak CSS of the blog section
* light codeblocks
![image](https://user-images.githubusercontent.com/197597/34471012-52212fba-eef2-11e7-8f75-404a3693c87d.png )
2018-01-01 17:08:47 -08:00
Lucas Azzola
800a1cf9d4
Add Blog, Populate with Release Notes ( #3604 )
...
* Add blog
* Rename files, add extra #
* Improve formatting
* Convert pull-request links
* Fix typo
* Update links in CHANGELOG.md, lint docs
* Add missing parens
* Remove banner images
* Add 1.0 release blog post
* Fix encoding bug
* Add truncate to 1.0 blog post
* TS syntax highlighting looks better than JS highlighting on Flow
* Add introductory sentences to older posts
* More highlighting fixes
* Fix mistake
* Fix more highlighting errors
* More highlighting fixes
* Add CSS fix
* fix truncate on 1.9.0 post
* fix truncate on 1.0.0 post
* Fix additional # and my name in 1.0.0
* Restore js -> ts on codeblocks
2017-12-31 15:23:17 +11:00
Ika
8a86c0cc9f
fix(playground): fix report version ( #3614 )
2017-12-31 12:12:56 +11:00
Ika
0af436cd47
fix(playground): use `prVersion` ( #3613 )
2017-12-31 00:54:36 +11:00
Robert Webb
833666a394
Support handlebars ( #3534 )
...
* feat(glimmer): initial HTML/Handlebars/Glimmer support
* feat(glimmer): support un-escaped mustache expressions
* fix(glimmer): add 'as |foo|' syntax
* fix(glimmer): support {{foo bar}} syntax
* feat(glimmer): implement all AST types
* feat(glimmer): implement if/else if/else
* test(glimmer): ignore leading/trailing whitespace from AST_COMPARE
* fix(glimmer): do not use trailing slash for void self-closing elements
* chore(build): disable html tests until we can sort out the glimmer dependency
* feat(html): complete rebase on parse5 addition
* Prettier Support For Glimmer VM/Handlebars
Polished Support for Sub Expressions
Added test cases for glimmer primitives
Added support for concat statements
Attempted to make element nodes work
Attempted block statements
Element Nodes are OK
Added support for block elements that are not else-if related
Added support for Else/If
Cleaning up
Rebase
Switch node 4 syntax
Update build
* Removed dead code/partials
* Added new lines to end of test files.
* Rebase after plugin change
* Added ignores to code coverage
2017-12-29 18:14:31 +01:00
Lipis
6a75f66731
Add Google Analytics on Playground ( #3576 )
2017-12-29 09:59:49 -05:00
Lucas Azzola
b0647cb2c9
Fix PR Preview Playground ( #3592 )
...
* Fix PR Preview Playground
* Use module.exports for Prettier export
* Keep index for backwards compatibility
2017-12-28 22:37:47 +11:00
artiebits
15a68394dd
Move playground styles to the single CSS file ( #3588 )
...
* Move playground styles to the single css file
* Add separateCss property to siteConfig.js
2017-12-27 17:32:37 -05:00
Jed Fox
1a3248bbc2
Change the changelog link to link to prettier/prettier ( #3564 )
...
* Change the changelog link to link to prettier/prettier
* Fix changelog links
* Double quotes
2017-12-26 00:04:02 -05:00
Lucas Azzola
4c9d4061da
Prettier Plugin API ( #3536 )
...
* Move files around in preparation for refactor
* Update paths in build script
* Extract generic printing logic from the JavaScript printer
* Conform printer API
* Fixup decorator handling
* Fix multiparser
* Create plugin entry for markdown
* Create plugin entry for javascript/typescript
* Create plugin entry for html
* Create plugin entry for graphql
* Create plugin entry for css/less/scss
* Move JSON to JS plugin entry
* Integrate plugins into getSupportInfo()
* Move astFormat to parser definition
* Move util to common
* Implement parser loading
* remark -> mdast
* Rename cli/cli -> cli/index
* Rename builder -> doc package, fix printer resolution
* Fix doc shape assumption in CSS-in-JS logic
* Fix third-party.js prod resolution
* Fixup build-docs script
* Distribute multiparser code
* Remove requirement to forward options
* Flatten closure
* Remove debug directory
* Expose doc
* Add external plugins
* Pass options to loadPlugins
* Export getParsers
* Pin resolve version
* Use getSupportInfo in Markdown embed
* Document plugin API
* Update build-docs
* Add CLI for plugins
* Lint docs
* Fixup build.js
* Add vue language
* Fixup multiparser for vue
* Upgrade rollup and rollup-plugin-commonjs
* Fixup third-party build
* Change AST format in docs
2017-12-26 12:23:50 +11:00
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