[issue14218] include rendered output in addition to markup

Terry J. Reedy report at bugs.python.org
Sat Mar 10 01:39:48 CET 2012


Terry J. Reedy <tjreedy at udel.edu> added the comment:

It is not unusual and perhaps common for markup documentation to give rendered output for example input. This is similar to what we do in the tutorial and elsewhere with interactive examples:
>>> 2 + 2 # input code
4         # output of running the code

This may be fairly easy. Since the page is a rendered page, I presume some quoting mechanism is used to keep example text as is without being rendered. If so, all that should be needed is the same marked up text in a second box directive but without the quoting, so that it is rendered.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14218>
_______________________________________


More information about the Python-bugs-list mailing list