[Doc-SIG] Unindented blocks in reStructuredText

John Gabriele jmg3000 at gmail.com
Mon Oct 22 04:04:12 CEST 2007


On 10/21/07, Hrvoje Nikšić <hniksic at gmail.com> wrote:
> I'd like my rst documents to include snippets of Python that are
> pasteable into the interpreter.

Seems like this might be something best handled by your editor. That
is, you select some text, then have your editor strip the leading
whitespace, possibly add in comment marks on blank lines (per skip's
reply), and feed it to the interpreter.

---John


More information about the Doc-SIG mailing list