Skip to content

Commit

Permalink
Update embeddedLanguageFormatting option documentation (prettier#14048
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rkrim authored and medikoo committed Jan 4, 2024
1 parent a184514 commit 65d66c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/options.md
Expand Up @@ -449,9 +449,9 @@ Valid options:
- `"auto"` – Format embedded code if Prettier can automatically identify it.
- `"off"` - Never automatically format embedded code.

| Default | CLI Override | API Override |
| -------- | ------------------------------------ | ----------------------------------- |
| `"auto"` | `--embedded-language-formatting=off` | `embeddedLanguageFormatting: "off"` |
| Default | CLI Override | API Override |
| -------- | ----------------------------------------------------------- | ---------------------------------------------------------- |
| `"auto"` | <code>--embedded-language-formatting=<off&#124;auto></code> | <code>embeddedLanguageFormatting: "<off&#124;auto>"</code> |

## Single Attribute Per Line

Expand Down
6 changes: 3 additions & 3 deletions website/versioned_docs/version-stable/options.md
Expand Up @@ -450,9 +450,9 @@ Valid options:
- `"auto"` – Format embedded code if Prettier can automatically identify it.
- `"off"` - Never automatically format embedded code.

| Default | CLI Override | API Override |
| -------- | ------------------------------------ | ----------------------------------- |
| `"auto"` | `--embedded-language-formatting=off` | `embeddedLanguageFormatting: "off"` |
| Default | CLI Override | API Override |
| -------- | ----------------------------------------------------------- | ---------------------------------------------------------- |
| `"auto"` | <code>--embedded-language-formatting=<off&#124;auto></code> | <code>embeddedLanguageFormatting: "<off&#124;auto>"</code> |

## Single Attribute Per Line

Expand Down

0 comments on commit 65d66c6

Please sign in to comment.