Add proseWrap docs (#3201)
This commit is contained in:
1 parent
4f1a2c4108
commit
98eb2c98b7
1 file changed
+10
@@ -165,3 +165,13 @@ docblock at the top of the file then this option will add a newline to it with t
|
|||||||
Default | CLI Override | API Override
|
Default | CLI Override | API Override
|
||||||
--------|--------------|-------------
|
--------|--------------|-------------
|
||||||
`false` | `--insert-pragma` | `insertPragma: <bool>`
|
`false` | `--insert-pragma` | `insertPragma: <bool>`
|
||||||
|
|
||||||
|
## Prose Wrap
|
||||||
|
By default, Prettier will wrap markdown text at the specified print width.
|
||||||
|
In some cases you may want to rely on editor/viewer soft wrapping instead,
|
||||||
|
so this option allows you to opt out. When prose wrapping is disabled, each
|
||||||
|
paragraph will be printed on its own line.
|
||||||
|
|
||||||
|
Default | CLI Override | API Override
|
||||||
|
--------|--------------|-------------
|
||||||
|
`true` | `--no-prose-wrap` | `proseWrap: <bool>`
|
||||||
Reference in new issue
Block a user