snippet-fmt Format and validate code snippets in reStructuredText files. Docs Tests PyPI Activity QA Other Installation snippet-fmt can be installed from PyPI. To install with pip: $ python -m pip install snippet-fmt def foo(bar): print("hello") hello = "world