TutorialΒΆ
Start with a Markdown file that contains one Python prompt example:
```python
>>> 2 + 2
4
```
Run doctest_docutils against the file:
$ python -m doctest_docutils README.md
The command exits successfully when every collected example matches its expected
output. Add -v to see which examples ran:
$ python -m doctest_docutils README.md -v
The module keeps the standard-library doctest comparison rules and
changes the input layer: documentation is parsed through docutils, with
myst-parser handling Markdown.