View on GitHub

phmdoctest

Python syntax highlighted Markdown doctest.

doc/directive2_report.txt

         doc/directive2.md fenced blocks
-------------------------------------------------
block     line  test      TEXT or directive
type    number  role      quoted and one per line
-------------------------------------------------
python      14  setup     -setup
python      25  code
            32  output
python      42  code
            47  output
python      52  code
            56  output
python      64  teardown  -teardown
-------------------------------------------------
3 test cases.

The above fenced code block contains the contents of a plain text file. It is included in the documentation as an example text file.