Switch to mdformat to format docs

- Use mdformat and mdformat-mkdocs to format docs
- Add mdformat to Makefile and pre-commit-config
- Prettier ignores docs/
This commit is contained in:
Florian Preinstorfer authored and nblock committed 2026-03-01 09:24:52 +01:00
1 parent 5c449db125
commit 47307d19cf
6 files changed
+29 -9

No files matched your search

+8
View File
@@ -45,6 +45,14 @@ repos:
exclude: ^docs/
types_or: [javascript, jsx, ts, tsx, yaml, json, toml, html, css, scss, sass, markdown]
# mdformat for docs
- id: mdformat
name: mdformat
entry: mdformat
language: system
types_or: [markdown]
files: ^docs/
# golangci-lint for Go code quality
- id: golangci-lint
name: golangci-lint