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
2026-02-20 21:09:25 +01:00
committed by nblock
parent 5c449db125
commit 47307d19cf
6 changed files with 29 additions and 9 deletions

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