From 98eb2c98b72658f383adef52b1d491c25feab701 Mon Sep 17 00:00:00 2001 From: Lucas Azzola Date: Wed, 8 Nov 2017 22:57:08 +1100 Subject: [PATCH] Add proseWrap docs (#3201) --- docs/options.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/options.md b/docs/options.md index d47f119ce..875f0d92a 100644 --- a/docs/options.md +++ b/docs/options.md @@ -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 --------|--------------|------------- `false` | `--insert-pragma` | `insertPragma: ` + +## 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: `