Prettier formats 3-level bullet list with no content to thematic break #13779
Labels
lang:markdown
Issues affecting Markdown
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 2.7.1
Playground link
Input:
This is a 3-level bullet list with no content:
Output:
This is a thematic break:
- - -
Expected behavior:
Don't format
- - *
to- - -
.In general, for any N-level bullet list with no content, avoid using 3 consecutive
-
s. This can be done by alternating with*
or+
, as is done in the input.The text was updated successfully, but these errors were encountered: