Skip to content

Commit

Permalink
added exclusion of docs markdown files to pre-commit mdformat, as it …
Browse files Browse the repository at this point in the history
…is incompatible with material them markdown admonitions, and reverted removal of admonitions
  • Loading branch information
Oufattole committed Oct 22, 2024
1 parent 8d8a44c commit 41d539c
Show file tree
Hide file tree
Showing 5 changed files with 146 additions and 161 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ repos:
rev: 0.7.17
hooks:
- id: mdformat
exclude: "^docs/.*\\.md$"
args: ["--number"]
additional_dependencies:
- mdformat-gfm
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
--8\<-- "README.md"
--8<-- "README.md"
Loading

0 comments on commit 41d539c

Please sign in to comment.