Skip to content

Commit 92599d5

Browse files
authored
Use fork of mdformat-gfm for Markdown formatting (#9063)
1 parent cba6542 commit 92599d5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/pull_request_template.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@ least be tagged with the `release_notes` label.
2020
- [ ] Tests added or updated (not required for docs, CI config, or typo fixes)
2121
- [ ] Documentation updated (if public API changed)
2222
- [ ] Python bindings updated (if public API changed)
23-
- [ ] Benchmarks are included here if the change is intended to affect
24-
performance.
23+
- [ ] Benchmarks are included here if the change is intended to affect performance.
2524
- [ ] Commits include AI attribution where applicable (see Code of Conduct)

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,11 @@ repos:
8282
- id: mdformat
8383
args: [ --number, --wrap=80 ]
8484
additional_dependencies:
85-
- mdformat-gfm
85+
# Upstream mdformat-gfm declined to work around GitHub's rendering
86+
# quirks. See: https://github.com/hukkin/mdformat-gfm/issues/58
87+
- git+https://github.com/halide/mdformat-gfm.git@fce9859
8688
- mdformat-ruff
8789
- mdformat-shfmt
88-
exclude: ^.github/pull_request_template\.md$ # mdformat-gfm doesn't understand GitHub's checklists.
8990

9091
- repo: https://github.com/astral-sh/ruff-pre-commit
9192
rev: v0.15.5

0 commit comments

Comments
 (0)