diff --git a/source/python/black.md b/source/python/black.md index 96356d5..a63e57f 100644 --- a/source/python/black.md +++ b/source/python/black.md @@ -7,10 +7,8 @@ Black can be configured in `pyproject.toml` (see [Usage and Configuration - The basics](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html)). -Example config: - -:::{code} python -:filename: pyproject.toml +:::{code-block} python +:caption: Example config in `pyproject.toml` [tool.black] line-length = 99 target-version = ["py310"]