Add pre-commit formatting with mdformat