Georgii Dolzhykov
662cdb04db
RFC: label doc ( #10275 )
...
* RFC: label doc
* Update functions in doc-utils
2021-02-10 17:08:54 +02:00
Georgii Dolzhykov
5a33fec904
RFC: indentIfBreak ( #10221 )
2021-02-05 01:03:40 +02:00
Georgii Dolzhykov and fisker Cheung
58173be8b8
docs: revise commands.md ( #10181 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-02-02 22:43:43 +02:00
Georgii Dolzhykov
78b38d2282
Round-trippable --debug-print-doc ( #10169 )
2021-01-29 21:48:34 +02:00
fisker Cheung and Georgii Dolzhykov
9d9c0e2b6f
Add Doc[] as Doc ( #9733 )
...
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2021-01-04 10:04:30 +08:00
oebrab
00a4798b90
Add a link to the "Example" part ( #9782 )
2020-11-27 16:31:37 +02:00
Sosuke Suzuki
b5aa575575
Fix h4 => h3 for dedentToRoot ( #8541 )
2020-06-10 14:37:56 +03:00
Georgii Dolzhykov
9dad95b35f
Bump Prettier dependency to 2.0.0
2020-03-21 22:09:54 +02:00
Warren Seine
7920e6fdde
Add a new trim command to trim whitespaces in the current line ( #4772 )
2018-10-06 20:18:52 +08:00
Lucas Duailibe
412b064df8
Format docs with Prettier 1.13
2018-05-27 15:38:31 -03:00
Ika
03292a6488
fix(javascript): ternary with --use-tabs ( #3745 )
...
* test: add test cases
* test: add test cases
* fix(javascript): ternary with `--use-tabs`
* chore: add istanbul ignore comment
* fix: remove unnecessary condition
* docs(commands): update `align`
* fix: do not transform the middle part
* refactor: markAsRoot
* fix: print tabs in sub-ternaries
* docs(commands): update
* test: add a cool test case
2018-01-26 10:02:42 +08:00
Zach Gawlik
5e43ff9ac2
Fix malapropism in commands docs ( #3820 )
2018-01-24 23:55:58 -07:00
Ika
de6bc4448f
fix(multiparser): respect 0-indent markdown-in-js ( #3676 )
...
* fix(multiparser): respect 0-indent markdown-in-js
* fix: use literalline for 0-indent
* test: add unexpected case
* fix: 0-indent
* test: add failing test
* refactor: simplify
* fix(doc): literallines respect `ind.root`
* docs: update commands
* fix: what a magic...
2018-01-17 12:52:42 +08:00
Jed Fox
9780c00332
Update the command documentation and add types ( #3494 )
...
* Update the command documentation and add types
* Fix signatures
* Remove the <T> generic of the Doc type for easier reading
* Move the types inline with the docs
* Prettify the code; unignore the code blocks
* Put back some ignores; add more semicolons;
2017-12-19 10:17:35 +11: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
Christopher Chedeau
57b3fe8a50
Update commands.md
2017-06-07 11:43:06 -07:00
Christopher Chedeau
e1ebbff001
Update commands.md
2017-06-07 11:42:31 -07:00
Christopher Chedeau
9d4fabd691
Pretty printer commands.js
2017-06-07 11:17:04 -07:00
Joseph Frazier
3580aac6e0
Say "group" instead of "multilineGroup" in commands.md ( #1921 )
...
`multilineGroup` was removed in commit 3aa267d (https://github.com/prettier/prettier/pull/450 )
2017-06-02 15:49:08 -07:00
James Long
3aa267d5e8
Remove multilineGroup ( #450 )
2017-01-24 13:54:01 -05:00
Shigeaki Okazaki
62f15f51ce
Update commands.md ( #430 )
2017-01-23 10:26:52 -05:00
James Long
612e3411cb
Move atom package out and start new readme
2017-01-10 00:45:11 -05:00