Skip to content

Commit

Permalink
Update Markdown formatting for Prettier 3.4
Browse files Browse the repository at this point in the history
Prettier 3.4 removes extra spaces after unordered list line prefixes.
https://prettier.io/blog/2024/11/26/3.4.0#markdown

Note that Prettier 3.4 exhibits problematic behavior when formatting
admonitions that are nested within unordered lists. Prettier ignore
comments (`<!-- prettier-ignore -->`) have been added where necessary
to prevent this problematic behavior.
prettier/prettier#16929 (comment)
  • Loading branch information
br3ndonland committed Dec 20, 2024
1 parent 779b1f4 commit 8907eae
Show file tree
Hide file tree
Showing 8 changed files with 1,388 additions and 1,379 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ jobs:
sed -Ei "$ESCAPE_DUNDERS" CHANGELOG.md
sed -Ei "$ESCAPE_DUNDERS" docs/changelog.md
- name: Format changelog with Prettier
run: npx -s -y prettier@'^3' --write CHANGELOG.md docs/changelog.md
run: npx -s -y prettier@'^3.4' --write CHANGELOG.md docs/changelog.md
- name: Create pull request with updated changelog
uses: peter-evans/create-pull-request@v6
with:
Expand Down
Loading

0 comments on commit 8907eae

Please sign in to comment.