You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Markdown: Add missing blank line around code block ([#17675](https://github.com/prettier/prettier/pull/17675) by [@fisker](https://github.com/fisker))
6
+
7
+
<!-- prettier-ignore -->
8
+
````md
9
+
<!-- Input -->
10
+
1. Some text, and code block below, with newline after code block
11
+
12
+
```yaml
13
+
---
14
+
foo: bar
15
+
```
16
+
17
+
1. Another
18
+
2. List
19
+
20
+
<!-- Prettier 3.6.1 -->
21
+
1. Some text, and code block below, with newline after code block
22
+
23
+
```yaml
24
+
---
25
+
foo: bar
26
+
```
27
+
1. Another
28
+
2. List
29
+
30
+
<!-- Prettier 3.6.2 -->
31
+
1. Some text, and code block below, with newline after code block
Copy file name to clipboardExpand all lines: website/versioned_docs/version-stable/browser.md
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Required options:
21
21
22
22
-**[`parser`](options.md#parser) (or [`filepath`](options.md#file-path))**: One of these options has to be specified for Prettier to know which parser to use.
23
23
24
-
-**`plugins`**: Unlike the `format` function from the [Node.js-based API](api.md#prettierformatsource-options), this function doesn’t load plugins automatically. The `plugins` option is required because all the parsers included in the Prettier package come as plugins (for reasons of file size). These plugins are files in [https://unpkg.com/browse/[email protected].1/plugins](https://unpkg.com/browse/[email protected].1/plugins). Note that `estree` plugin should be loaded when printing JavaScript, TypeScript, Flow, or JSON.
24
+
-**`plugins`**: Unlike the `format` function from the [Node.js-based API](api.md#prettierformatsource-options), this function doesn’t load plugins automatically. The `plugins` option is required because all the parsers included in the Prettier package come as plugins (for reasons of file size). These plugins are files in [https://unpkg.com/browse/[email protected].2/plugins](https://unpkg.com/browse/[email protected].2/plugins). Note that `estree` plugin should be loaded when printing JavaScript, TypeScript, Flow, or JSON.
25
25
26
26
You need to load the ones that you’re going to use and pass them to `prettier.format` using the `plugins` option.
0 commit comments