Skip to content

Commit 2c083da

Browse files
committed
Add changelog for Markdown indentation fix
1 parent c2a3ccc commit 2c083da

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#### Prevent indentation drift in task-list code blocks (#19647 by @Austin1serb)
2+
3+
Indented code blocks inside task-list items no longer gain four spaces on each formatting pass.
4+
5+
<!-- prettier-ignore -->
6+
```markdown
7+
<!-- Input -->
8+
- [x] short first line.
9+
10+
second paragraph at six spaces that wraps
11+
onto another line here.
12+
13+
<!-- Prettier stable -->
14+
- [x] short first line.
15+
16+
second paragraph at six spaces that wraps
17+
onto another line here.
18+
19+
<!-- Prettier main -->
20+
- [x] short first line.
21+
22+
second paragraph at six spaces that wraps
23+
onto another line here.
24+
```

0 commit comments

Comments
 (0)