We use `remark-lint` with plugins for `md` files. Example: https://github.com/sobolevn/awesome-cryptography/ We can also use `flake8` for code-blocks I guess. And `pytest` to run doctests tests (if any).